<%@ Page Title="" Language="C#" MasterPageFile="~/car-insurance/proposalforms/CarInsuranceProposalMasterPage.master"
    Async="true" AutoEventWireup="true" CodeFile="hsbc_proposal_form.aspx.cs" Inherits="car_Insurance_new_proposalforms_hsbc_proposal_form" %>

<%@ Register Src="~/controls/usrNoJS.ascx" TagName="usrNoJS" TagPrefix="ucNoJS" %>
<%@ Register Src="~/controls/usrPhoneNo.ascx" TagName="usrPhoneNo" TagPrefix="uc1" %>
<%@ Register Src="~/controls/usrDate.ascx" TagName="usrDate" TagPrefix="uc2" %>
<%@ Register Src="~/controls/usrIdNumber.ascx" TagName="usrIdNumber" TagPrefix="uc3" %>
<%@ Register Src="~/controls/usrNationality.ascx" TagName="usrNationality" TagPrefix="uc4" %>
<%@ Register Src="~/controls/usrCompanyLogoByServices.ascx" TagName="usrCompanyLogoByServices"
    TagPrefix="uc5" %>
<%@ Register Src="~/controls/usrGender.ascx" TagName="usrGender" TagPrefix="uc7" %>
<%@ Register Src="~/controls/usrIdType.ascx" TagName="usrIdType" TagPrefix="uc8" %>
<%@ Register Src="~/controls/usrSalutation.ascx" TagName="usrSalutation" TagPrefix="uc9" %>
<%@ Register Src="~/controls/usrRelationship.ascx" TagName="usrRelationship" TagPrefix="uc10" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script src="../../includes/LoadingProgress.js" type="text/javascript"></script>

    <div id="container">
        <div id="nav_top">
            <div class="left pad_8yr">  <%--<asp:ImageButton ID="imgbtnBackTop" runat="server" ImageUrl="/images/forms_proposal/button/back.png"
                    OnClick="imgbtnBackTop_Click" OnClientClick="return confirm('Are you sure to go back?');" />--%>
                     <a href="/car-insurance/results.aspx" id="lnkBackTop" onclick="return confirm('Are you sure to go back?');">
                    <img src="/images/forms_proposal/button/back.png" alt="Back" /></a></div>
            <div class="right pad_8yr">
                <img src="/images/forms_proposal/nav/logo_comparexpress.png" alt="CompareXpress" /></div>
        </div>
        <ucNoJS:usrNoJS ID="usrNoJS1" runat="server" />
        <div class="form_selection" style="display: none">
            <h3>
                <asp:Label ID="lblProvider" runat="server"></asp:Label></h3>
            <asp:Label ID="lblPackageHead" runat="server" Text="WorkShop Plan : " CssClass="fs_lbl"></asp:Label>
            <asp:Label ID="lblPackage" runat="server" CssClass="fs_lbl_m"></asp:Label>
            <asp:Label ID="lblPremiumHead" runat="server" Text="Annual Premium : " CssClass="fs_lbl_r"></asp:Label>
            <asp:Label ID="lblPremium" runat="server"></asp:Label>
        </div>
        <div id="divLoading">
            <table style="width: 100%; height: 500px">
                <tr>
                    <td align="center" valign="middle">
                        <img src="../../images/loading7.gif" alt="Loading" align="absmiddle" />
                        <span id="divMessage">Please wait...</span><span id="divPgrPercent">0%</span>
                    </td>
                </tr>
            </table>
        </div>
        <asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server">
        </asp:ScriptManager>
        <div id="divContent" style="display: none;">
            <div id="contentBody">
                <div id="header">
                    <div class="seperator">
                    </div>
                    <div class="right" style="width: 240px">
                        <div class="quotesum_button">
                            <img src="/images/forms_proposal/button/quotesum.png" width="240" height="73" alt="Quote Summary" /></div>
                    </div>
                    <h1>
                        Online Car Insurance Proposal Form</h1>
                    <div class="seperator">
                    </div>
                    <div class="quotesum">
                        <div class="top">
                        </div>
                        <div id="divQuoteSummery" class="body pad_15x">
                            <!-- QUOTE SUMMARY | Start -->
                            <div class="w26per left pad_25xr">
                                <h1>
                                    Selected Insurer</h1>
                                <p>
                                    <asp:Label ID="lblSelectInsurer" runat="server"></asp:Label></p>
                                <h1>
                                    Workshop Plan</h1>
                                <p>
                                    <asp:Label ID="lblWorkshopPlan" runat="server"></asp:Label></p>
                                <h1>
                                    Car Make &amp; Model</h1>
                                <p>
                                    <asp:Label ID="lblCarMakemodel" runat="server"></asp:Label></p>
                            </div>
                            <div class="w21per left pad_25xr">
                                <h1>
                                    Year of Registration</h1>
                                <p>
                                    <asp:Label ID="lblYrofRegister" runat="server"></asp:Label></p>
                                <h1>
                                    Applicable/Renewal NCD</h1>
                                <p>
                                    <asp:Label ID="lblNCDRenewal" runat="server"></asp:Label></p>
                                <h1>
                                    Premium</h1>
                                <p>
                                    <asp:Label ID="lblPremiums" runat="server"></asp:Label></p>
                            </div>
                            <div class="w21per left pad_25xr">
                                <h1>
                                    Cover Commencement Date</h1>
                                <p>
                                    <asp:Label ID="lblCommencementdate" runat="server"></asp:Label></p>
                                <h1>
                                    Offpeak Vehicle?</h1>
                                <p>
                                    <asp:Label ID="lblOffpeakvehile" runat="server"></asp:Label></p>
                                <h1>
                                    Offence-Free Driving/COM</h1>
                                <p>
                                    <asp:Label ID="lblOffenceDriving" runat="server"></asp:Label></p>
                            </div>
                            <div class="w21per left pad_25xr">
                                <h1>
                                    &nbsp;</h1>
                                <p>
                                    &nbsp;</p>
                                <h1>
                                    Quote Reference Number</h1>
                                <p>
                                    <asp:Label ID="lblQRefNo" runat="server" Text="1"></asp:Label>
                                    <input id="inputCovertype" runat="server" type="hidden" />
                                </p>
                                <div id="divPromoVoucher" runat="server" visible="false">
                                    <p>
                                        <asp:Image ImageAlign="AbsMiddle" runat="server" ID="imgPromoAdd1" ToolTip="Free S$100 Petrol Voucher by CompareXpress"
                                            Height="45" Width="40" Visible="false" ImageUrl="~/images/promo/100-pv.gif" />
                                        <asp:Image ImageAlign="AbsMiddle" runat="server" ID="imgPromoAdd2" ToolTip="Free S$50 Petrol Voucher by CompareXpress"
                                            Height="45" Width="40" Visible="false" ImageUrl="~/images/promo/50-pv.gif" />
                                            By CompareXpress
                                    </p>
                                </div>
                                <div style="display: none;">
                                    <h1>
                                        Current/Existing NCD</h1>
                                    <p>
                                        <asp:Label ID="lblNCDvalue" runat="server"></asp:Label></p>
                                    <h1>
                                        Any Claims in the Last 3 Years?</h1>
                                    <p>
                                        <asp:Label ID="lblAnyclaim" runat="server"></asp:Label></p>
                                    <h1>
                                        Add Additional Name Driver</h1>
                                    <p>
                                        <asp:Label ID="lblAddDriver" runat="server"></asp:Label>
                                        <span style="display: none;">
                                            <asp:TextBox ID="txtDriverCount" runat="server" Text="0"></asp:TextBox>
                                            <asp:TextBox ID="txtAnyClaim" runat="server" Text="No"></asp:TextBox>
                                        </span>
                                    </p>
                                    <h1>
                                        Year of Manufacture</h1>
                                    <p>
                                        <asp:Label ID="lblYrofManufacture" runat="server"></asp:Label></p>
                                </div>
                            </div>
                            <!-- QUOTE SUMMARY | End   -->
                        </div>
                        <div class="bottom">
                        </div>
                    </div>
                </div>
                <div class="seperator">
                </div>
                <div id="body">
                </div>
                <div id="divValidationSummary">
                    <asp:ValidationSummary ID="vsproposal" CssClass="validation_div" runat="server" ValidationGroup="proposal"
                        HeaderText="Please complete the form" />
                </div>
                <div class="form">
                    <div class="top">
                        <div class="left">
                            <div class="pad_10t pad_35xl white">
                                Online Car Insurance Proposal Form</div>
                        </div>
                        <div class="right">
                        </div>
                    </div>
                    <div class="body">
                        <div class="inner">
                            <div class="pad_20x10y">
                                <div class="norm">
                                    <div class="top_t">
                                    </div>
                                    <div class="body">
                                        <div class="pad_15x">
                                            <h1>
                                                Important Disclaimer</h1>
                                            <p>
                                                <asp:Label runat="server" ID="lblDisclaimer" Text=""></asp:Label></p>
                                        </div>
                                    </div>
                                    <div class="bottom">
                                    </div>
                                </div>
                                <div class="seperator">
                                </div>
                                <div class="hilite">
                                    <div class="top">
                                    </div>
                                    <div class="body_in pad_15x">
                                        <h1>
                                            Details of Proposer</h1>
                                        <div class="seperator">
                                        </div>
                                        <div class="w40per left">
                                            <div id="divSalutation">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Salutation:</div>
                                                <div class="left">
                                                    <uc9:usrSalutation ID="ddlSalutation" runat="server" ValidationGroup="proposal" />
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divFamilyName">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Family Name:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtFamilyName" MaxLength="80" runat="server" size="25"></asp:TextBox>&nbsp;
                                                    <asp:RequiredFieldValidator ID="rfvFamilyName" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtFamilyName"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revFamilyName" runat="server" ControlToValidate="txtFamilyName"
                                                        ValidationExpression="^[a-zA-Z''-'\s]{1,80}$" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                        Text="" ErrorMessage=""></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divGivenName">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Given Name:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtGivenName" MaxLength="80" runat="server" size="25"></asp:TextBox>&nbsp;
                                                    <asp:RequiredFieldValidator ID="rfvGivenName" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtGivenName"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revGivenName" runat="server" ControlToValidate="txtGivenName"
                                                        ValidationExpression="^[a-zA-Z''-'\s]{1,50}$" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                        Text="" ErrorMessage=""></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="div3">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Race:</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlRace" runat="server">
                                                        <asp:ListItem Text="Select" Value="-1"></asp:ListItem>
                                                        <asp:ListItem Text="Chinese" Value="Chinese"></asp:ListItem>
                                                        <asp:ListItem Text="Malay" Value="Malay"></asp:ListItem>
                                                        <asp:ListItem Text="Indian" Value="Indian"></asp:ListItem>
                                                        <asp:ListItem Text="Others" Value="Others"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvRace" ControlToValidate="ddlRace" CssClass="validationErrorControl"
                                                        runat="server" InitialValue="-1" ValidationGroup="proposal" Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divNationality">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Nationality:</div>
                                                <div class="left">
                                                    <uc4:usrNationality ID="ddlNationality" runat="server" ErrorMessage="" ValidationGroup="proposal" />
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divNRICNo">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> NRIC Number:</div>
                                                <div class="left">
                                                    <uc3:usrIdNumber ID="ddlIdNumber" runat="server" ValidationGroup="proposal" />
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divEmpName">
                                                <div class="w130 left align_right pad_6t pad_7xr">
                                                    Name of Employer:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtEmpName" runat="server" size="30" MaxLength="50"></asp:TextBox></span>
                                                    <asp:RegularExpressionValidator ID="revEmpName" runat="server" ValidationGroup="proposal"
                                                        ValidationExpression="^[a-zA-Z''-'\s]{1,40}$" CssClass="validationErrorControl"
                                                        ControlToValidate="txtEmpName" ErrorMessage=""></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                        </div>
                                        <div class="w59per left">
                                           <%-- <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                <ContentTemplate>--%>
                                                    <div id="divPostCode">
                                                        <div class="w180 left align_right pad_6t pad_7xr">
                                                            <span class="red">*</span> Postcode:</div>
                                                        <asp:TextBox ID="txtPostCode" size="8" onkeypress="restrictToNumbers(event)" runat="server" MaxLength="6" Width="80px"></asp:TextBox>
                                                     <%--   <asp:ImageButton ID="ibtPostCode" runat="server" CssClass="button" align="absmiddle"
                                                            OnClick="ibtPostCode_Click" Width="108" ValidationGroup="PostCode" AlternateText="Get Address"
                                                            ImageUrl="~/images/forms_proposal/button/getaddress.png" />--%>
                                                        <%--<input type="image" align="absmiddle" width="108" alt="Get Address" src="/images/forms_proposal/button/getaddress.png"
                                                            onclick="this.focus();return false;" class="button" />--%>
                                                    <%--    <asp:UpdateProgress runat="server" ID="uplUpProgress" DisplayAfter="500">
                                                            <ProgressTemplate>
                                                                <span style="position: absolute; text-align: right; width: 390px;">
                                                                    <img src="../../images/loading7.gif" id="ldPostCode" alt="loading" />
                                                                </span>
                                                            </ProgressTemplate>
                                                        </asp:UpdateProgress>--%>
                                                        <asp:RequiredFieldValidator ID="rfvPCode" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage="" ValidationGroup="PostCode" ControlToValidate="txtPostCode"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator ID="revPCode" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage="" ValidationGroup="PostCode" ValidationExpression="[0-9]{6}"
                                                            ControlToValidate="txtPostCode"></asp:RegularExpressionValidator>
                                                    </div>
                                                    <div runat="server" visible="false" id="divAddressList">
                                                        <div class="h10">
                                                        </div>
                                                        <div class="w180 left align_right pad_6t pad_7xr">
                                                            Please choose your address
                                                        </div>
                                                        <asp:DropDownList ID="ddlAddressList" AutoPostBack="true" Width="320px" runat="server"
                                                            OnSelectedIndexChanged="ddlAddressList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                               <%-- </ContentTemplate>
                                            </asp:UpdatePanel>--%>
                                            <asp:RequiredFieldValidator ID="rfvPostCode" runat="server" CssClass="validationErrorControl"
                                                Display="Dynamic" ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtPostCode"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revPostCode" runat="server" CssClass="validationErrorControl"
                                                Display="Dynamic" ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{6}"
                                                ControlToValidate="txtPostCode"></asp:RegularExpressionValidator>
                                            <div class="h10">
                                            </div>
                                            <div id="divUnitNo">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Unit Number:</div>
                                                <asp:TextBox ID="txtUnit1" MaxLength="10" runat="server" size="8"></asp:TextBox>-
                                                <asp:RequiredFieldValidator ID="rfvUnit1" runat="server" CssClass="validationErrorControl"
                                                    ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtUnit1"></asp:RequiredFieldValidator>
                                                <asp:TextBox ID="txtUnit2" MaxLength="10" runat="server" size="8"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvUnit2" runat="server" CssClass="validationErrorControl"
                                                    ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtUnit2"></asp:RequiredFieldValidator>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                                <ContentTemplate>
                                                    <div id="divPCAddress">
                                                        <div class="w180 left align_right pad_6t pad_7xr">
                                                            <span class="red">*</span> Address:</div>
                                                        <span id="divAddress"></span>
                                                        <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine" MaxLength="120"
                                                            Width="200px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvAddress" runat="server" CssClass="validationErrorControl"
                                                            ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtAddress"></asp:RequiredFieldValidator>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                            <div class="h10">
                                            </div>
                                            <div id="div2">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Previous Insurance Company:</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlTransInsuranceCompany" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvTransInsuranceCompany" ControlToValidate="ddlTransInsuranceCompany"
                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divNCDNIL">
                                                <div>
                                                    <span class="red">*</span> If NCD is nil or 10% with no claims experiences, please
                                                    provide the reason:</div>
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    &nbsp;</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlNCDReason" runat="server" onchange="javascript:if (this.value == 'Others') { ShowHideDiv('divNCDReason',true); }ShowHideNCDReasonStatus();">
                                                        <asp:ListItem Text="Select" Value="-1"></asp:ListItem>
                                                        <asp:ListItem Text="Not Applicable" Value="Not Applicable"></asp:ListItem>
                                                        <asp:ListItem Text="First time owner" Value="First time owner"></asp:ListItem>
                                                        <asp:ListItem Text="2nd or 3rd vehicle" Value="2nd or 3rd vehicle"></asp:ListItem>
                                                        <asp:ListItem Text="Have been driving company's / relative's vehicles" Value="Have been driving company's / relative's vehicles"></asp:ListItem>
                                                        <asp:ListItem Text="Others" Value="Others"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvNCDReasonDdl" ControlToValidate="ddlNCDReason"
                                                        ErrorMessage="" InitialValue="-1" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                        runat="server"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div style="display: " id="divNCDReason">
                                                <div class="h10">
                                                </div>
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    &nbsp;</div>
                                                <div class="left" id="divNCDPleasespecify">
                                                    <span class="red">*</span>Please specify:
                                                    <asp:TextBox ID="txtNCDReason" runat="server"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvNCDReason" ControlToValidate="txtNCDReason" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divYearofObtained">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Year of Driving Licence Obtained:</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlYearofObtained" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvYearofObtained" ControlToValidate="ddlYearofObtained"
                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                        </div>
                                        <div class="clear">
                                        </div>
                                        <div class="h10">
                                        </div>
                                        <div style="border: 1px solid #ccc; width: 912px; background: #d2d2d2;">
                                            <div class="h10">
                                            </div>
                                            <div class="w130 left align_right pad_6t pad_7xr">
                                                Contact Info:</div>
                                            <div id="divContactNo" class="w190 note left">
                                                <span class="red">*</span> Mobile Number<br />
                                                <uc1:usrPhoneNo ID="txtMobileNo" IsEnabled="true" IsRequired="true" PhoneNoRequireErrorMessage="Require mobile number."
                                                    PhoneNoErrorMessage="Mobile phone number should 8 digits." PhoneNoValidErrorMessage="Invalid mobile phone number."
                                                    runat="server" ValidationGroup="proposal" />
                                            </div>
                                            <div id="divAResidentPhoneNo" class="w190 note left">
                                                Residental Number<br />
                                                <uc1:usrPhoneNo ID="txtResidentialPhoneNo" runat="server" ValidationGroup="proposal"
                                                    IsRequired="False" />
                                            </div>
                                            <div id="divAOfficeNo" class="w190 note left">
                                                Office Number<br />
                                                <uc1:usrPhoneNo ID="txtOfficePhoneNo" runat="server" ValidationGroup="proposal" IsRequired="False" />
                                            </div>
                                            <div id="div1" class="w190 note left">
                                                Fax Number<br />
                                                <uc1:usrPhoneNo ID="txtFaxNo" runat="server" ValidationGroup="proposal" IsRequired="False" />
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div class="h10">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="bottom">
                                    </div>
                                </div>
                                <div class="seperator">
                                </div>
                                <asp:Panel ID="pnlClaimDetails" runat="server" Width="100%">
                                    <div class="hilite">
                                        <div class="top">
                                        </div>
                                        <div class="body_in pad_15x">
                                            <h1>
                                                Claim Details of Proposer</h1>
                                            <div class="seperator">
                                            </div>
                                            <div id="div4" class="w220 note left">
                                                <span class="red">*</span> Date of accident<br />
                                                <uc2:usrDate ID="ddlDateofAccident" ErrorMessage="" runat="server" ValidationGroup="proposal" />
                                            </div>
                                            <div id="div5" class="w220 note left">
                                                <span class="red">*</span> Nature of accident / loss<br />
                                                <asp:TextBox ID="txtNatureofAccident" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvNatureofAccident" ControlToValidate="txtNatureofAccident"
                                                    ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                    runat="server"></asp:RequiredFieldValidator>
                                            </div>
                                            <div id="div6" class="w220 note left">
                                                <span class="red">*</span> Amount of Claim<br />
                                                <asp:TextBox ID="txtClaimAmount" runat="server" Width="120px" MaxLength="10" ReadOnly="true"></asp:TextBox>
                                                <%--<asp:RequiredFieldValidator ID="rfvClaimAmount" ControlToValidate="txtClaimAmount" ErrorMessage=""
                                                    ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revClaimAmount" runat="server" ControlToValidate="txtClaimAmount"
                                                    CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                    ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>--%>
                                            </div>
                                            <div id="div17" class="w220 note left">
                                                <span class="red">*</span> Type of Claim<br />
                                                <asp:DropDownList ID="ddlTyeofClaim" runat="server">
                                                    <asp:ListItem Value="-1">Select</asp:ListItem>
                                                    <asp:ListItem Value="Own damage">Own damage</asp:ListItem>
                                                    <asp:ListItem Value="Third party">Third party</asp:ListItem>
                                                    <asp:ListItem Value="Fire">Fire</asp:ListItem>
                                                    <asp:ListItem Value="Theft">Theft</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator ID="rfvTyeofClaim" ControlToValidate="ddlTyeofClaim"
                                                    CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                    Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                            </div>
                                            <div class="clear">
                                            </div>
                                        </div>
                                        <div class="bottom">
                                        </div>
                                    </div>
                                    <div class="seperator">
                                    </div>
                                </asp:Panel>

                                <script type="text/javascript">
                                    IncreaseProgress(35);
                                </script>

                                <asp:Panel ID="pnlDriverDetails" runat="server" Width="100%">
                                    <div class="hilite">
                                        <div class="top">
                                        </div>
                                        <div class="body_in pad_15x">
                                            <div id="divDrivers">
                                                <h1>
                                                    Additional Driver Details</h1>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div class="b_msg">
                                                <ul>
                                                    <li>If below 26 years old and/or less than 2 years driving expereince "The inclusion
                                                        of this named driver is subject to underwriting and approval of HSBC Insurance"</li>
                                                    <li>If the occupation is mainly outdoor "The inclusion of this named driver is subject
                                                        to underwriting and approval of HSBC Insurance"</li>
                                                    <li>If the claim amount is $10,000 & above "The inclusion of this named driver is subject
                                                        to underwriting and approval of HSBC Insurance"</li>
                                                </ul>
                                            </div>
                                            <asp:Panel ID="pnlDriver1" runat="server" Width="100%">
                                                <div class="seperator">
                                                </div>
                                                <div>
                                                    <h3>
                                                        <asp:Label ID="lblDriverNo1" runat="server" Text="Driver No: 1"></asp:Label>
                                                        <asp:Label ID="lblDriverId1" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10">
                                                    </div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB1" runat="server"></asp:Label>&nbsp;&nbsp;
                                                                <asp:Label ID="lblDriverGender1" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Salutation:</div>
                                                            <div class="left">
                                                                <uc9:usrSalutation ID="ddlDriverSalutation1" runat="server" ValidationGroup="proposal" />
                                                                <div style="display: none;">
                                                                    <uc7:usrGender ID="ddlDriverGender1" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div style="display: none">
                                                            <asp:TextBox ID="txtDriverSalGenderValid1" Text="Valid" runat="server"></asp:TextBox>
                                                            <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtDriverSalGenderValid1"
                                                                ValidationGroup="proposal" ID="csvDriverSalGender1" ClientValidationFunction="CheckDriverSalGenderValid1"
                                                                OnServerValidate="CheckDriverSalGenderValid1" runat="server" ErrorMessage="Salutation and gender do not match."
                                                                Text=""></asp:CustomValidator>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverSurName1" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverSurName1"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverSurName1"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div style="display: none;">
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Given Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverGivenName1" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelationship1" runat="server" ErrorMessage=""
                                                                    ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Type:</div>
                                                            <div class="left">
                                                                <uc8:usrIdType ID="ddlDriverIdType1" runat="server" ValidationGroup="proposal"></uc8:usrIdType>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Number:</div>
                                                            <div class="left">
                                                                <uc3:usrIdNumber ID="ddlDriverIdNumber1" runat="server" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Year of Driving Licence Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlYearofObtainedDriver1" runat="server">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvYearofObtainedDriver1" ControlToValidate="ddlYearofObtainedDriver1"
                                                                    CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                    Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Record or revoked/endorsed driving licence:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesRevoked1">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked1',true);ValRevoked1(true);CheckRevoked1ValidationCss();"
                                                                        ID="rdoYesRevoked1" runat="server" GroupName="revoked1" />
                                                                    <asp:Label ID="lblYesRevoked1" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoRevoked1">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked1',false);ValRevoked1(false);CheckRevoked1ValidationCss();"
                                                                        ID="rdoNoRevoked1" runat="server" GroupName="revoked1" />
                                                                    <asp:Label ID="lblNoRevoked1" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtRevoked1" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvRevoked1" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtRevoked1" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div id="divRevoked1" style="display: ;">
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Year:</div>
                                                                <div class="left">
                                                                    <asp:DropDownList ID="ddlYearofRevokedDriver1" runat="server">
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvYearofRevokedDriver1" ControlToValidate="ddlYearofRevokedDriver1"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Reason:</div>
                                                                <div class="left">
                                                                    <asp:TextBox ID="txtLicRevokReason1" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvLicRevokReason1" runat="server" CssClass="validationErrorControl"
                                                                        ErrorMessage="" ControlToValidate="txtLicRevokReason1" ValidationGroup="proposal"
                                                                        Text=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> At fault motor claims experiences in past 3 years:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesDriverClaim1">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim1',true);ValDriverClaim1(true);CheckDriverClaim1ValidationCss();"
                                                                        ID="rdoYesDriverClaim1" runat="server" GroupName="driverclaim1" />
                                                                    <asp:Label ID="lblYesDriverClaim1" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoDriverClaim1">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim1',false);ValDriverClaim1(false);CheckDriverClaim1ValidationCss();"
                                                                        ID="rdoNoDriverClaim1" runat="server" GroupName="driverclaim1" />
                                                                    <asp:Label ID="lblNoDriverClaim1" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtDriverClaim1" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvDriverClaim1" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtDriverClaim1" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="clear">
                                                    </div>
                                                    <div id="divDriverClaim1" style="display: ;">
                                                        <div class="h10">
                                                        </div>
                                                        <table width="100%" cellpadding="1" cellspacing="1">
                                                            <tr>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Date of Accident
                                                                </td>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Nature of accident/loss
                                                                </td>
                                                                <td style="width: 17%;">
                                                                    <span class="red">*</span>Amount of claim
                                                                </td>
                                                                <td>
                                                                    <span class="red">*</span>Type of claim
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <uc2:usrDate ID="ddlDateofAccidentDriver1" ErrorMessage="" runat="server" ValidationGroup="proposal" />
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtNatureofAccidentDriver1" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvNatureofAccidentDriver1" ControlToValidate="txtNatureofAccidentDriver1"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtClaimAmountDriver1" runat="server" Width="120px" MaxLength="10"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvClaimAmountDriver1" ControlToValidate="txtClaimAmountDriver1"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="revClaimAmountDriver1" runat="server" ControlToValidate="txtClaimAmountDriver1"
                                                                        CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                        ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlTyeofClaimDriver1" runat="server">
                                                                        <asp:ListItem Value="-1">Select</asp:ListItem>
                                                                        <asp:ListItem Value="Own damage">Own damage</asp:ListItem>
                                                                        <asp:ListItem Value="Third party">Third party</asp:ListItem>
                                                                        <asp:ListItem Value="Fire">Fire</asp:ListItem>
                                                                        <asp:ListItem Value="Theft">Theft</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvTyeofClaimDriver1" ControlToValidate="ddlTyeofClaimDriver1"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="pnlDriver2" runat="server" Width="100%">
                                                <div class="seperator">
                                                </div>
                                                <div>
                                                    <h3>
                                                        <asp:Label ID="lblDriverNo2" runat="server" Text="Driver No: 2"></asp:Label>
                                                        <asp:Label ID="lblDriverId2" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10">
                                                    </div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB2" runat="server"></asp:Label>&nbsp;&nbsp;
                                                                <asp:Label ID="lblDriverGender2" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Salutation:</div>
                                                            <div class="left">
                                                                <uc9:usrSalutation ID="ddlDriverSalutation2" runat="server" ValidationGroup="proposal" />
                                                            </div>
                                                            <div style="display: none;">
                                                                <uc7:usrGender ID="ddlDriverGender2" runat="server" />
                                                            </div>
                                                        </div>
                                                        <div style="display: none">
                                                            <asp:TextBox ID="txtDriverSalGenderValid2" Text="Valid" runat="server"></asp:TextBox>
                                                            <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtDriverSalGenderValid2"
                                                                ValidationGroup="proposal" ID="csvDriverSalGender2" ClientValidationFunction="CheckDriverSalGenderValid2"
                                                                OnServerValidate="CheckDriverSalGenderValid2" runat="server" ErrorMessage="Salutation and gender do not match."
                                                                Text=""></asp:CustomValidator>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverSurName2" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverSurName2"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverSurName2"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div style="display: none;">
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Given Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverGivenName2" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelationship2" runat="server" ErrorMessage=""
                                                                    ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w160 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Type:</div>
                                                            <div class="left">
                                                                <uc8:usrIdType ID="ddlDriverIdType2" runat="server" ValidationGroup="proposal"></uc8:usrIdType>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w160 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Number:</div>
                                                            <div class="left">
                                                                <uc3:usrIdNumber ID="ddlDriverIdNumber2" runat="server" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Year of Driving Licence Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlYearofObtainedDriver2" runat="server">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvYearofObtainedDriver2" ControlToValidate="ddlYearofObtainedDriver2"
                                                                    CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                    Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Record or revoked/endorsed driving licence:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesRevoked2">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked2',true);ValRevoked2(true);CheckRevoked2ValidationCss();"
                                                                        ID="rdoYesRevoked2" runat="server" GroupName="revoked2" />
                                                                    <asp:Label ID="lblYesRevoked2" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoRevoked2">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked2',false);ValRevoked2(false);CheckRevoked2ValidationCss();"
                                                                        ID="rdoNoRevoked2" runat="server" GroupName="revoked2" />
                                                                    <asp:Label ID="lblNoRevoked2" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtRevoked2" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvRevoked2" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtRevoked2" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div id="divRevoked2" style="display: ;">
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Year:</div>
                                                                <div class="left">
                                                                    <asp:DropDownList ID="ddlYearofRevokedDriver2" runat="server">
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvYearofRevokedDriver2" ControlToValidate="ddlYearofRevokedDriver2"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Reason:</div>
                                                                <div class="left">
                                                                    <asp:TextBox ID="txtLicRevokReason2" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvLicRevokReason2" runat="server" CssClass="validationErrorControl"
                                                                        ErrorMessage="" ControlToValidate="txtLicRevokReason2" ValidationGroup="proposal"
                                                                        Text=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> At fault motor claims experiences in past 3 years:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesDriverClaim2">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim2',true);ValDriverClaim2(true);CheckDriverClaim2ValidationCss();"
                                                                        ID="rdoYesDriverClaim2" runat="server" GroupName="driverclaim2" />
                                                                    <asp:Label ID="lblYesDriverClaim2" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoDriverClaim2">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim2',false);ValDriverClaim2(false);CheckDriverClaim2ValidationCss();"
                                                                        ID="rdoNoDriverClaim2" runat="server" GroupName="driverclaim2" />
                                                                    <asp:Label ID="lblNoDriverClaim2" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtDriverClaim2" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvDriverClaim2" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtDriverClaim2" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="clear">
                                                    </div>
                                                    <div id="divDriverClaim2" style="display: ;">
                                                        <div class="h10">
                                                        </div>
                                                        <table width="100%" cellpadding="1" cellspacing="1">
                                                            <tr>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Date of Accident
                                                                </td>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Nature of accident/loss
                                                                </td>
                                                                <td style="width: 17%;">
                                                                    <span class="red">*</span>Amount of claim
                                                                </td>
                                                                <td>
                                                                    <span class="red">*</span>Type of claim
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <uc2:usrDate ID="ddlDateofAccidentDriver2" ErrorMessage="" runat="server" ValidationGroup="proposal" />
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtNatureofAccidentDriver2" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvNatureofAccidentDriver2" ControlToValidate="txtNatureofAccidentDriver2"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtClaimAmountDriver2" runat="server" Width="120px" MaxLength="10"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvClaimAmountDriver2" ControlToValidate="txtClaimAmountDriver2"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="revClaimAmountDriver2" runat="server" ControlToValidate="txtClaimAmountDriver2"
                                                                        CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                        ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlTyeofClaimDriver2" runat="server">
                                                                        <asp:ListItem Value="-1">Select</asp:ListItem>
                                                                        <asp:ListItem Value="Own damage">Own damage</asp:ListItem>
                                                                        <asp:ListItem Value="Third party">Third party</asp:ListItem>
                                                                        <asp:ListItem Value="Fire">Fire</asp:ListItem>
                                                                        <asp:ListItem Value="Theft">Theft</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvTyeofClaimDriver2" ControlToValidate="ddlTyeofClaimDriver2"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="pnlDriver3" runat="server" Width="100%">
                                                <div class="seperator">
                                                </div>
                                                <div>
                                                    <h3>
                                                        <asp:Label ID="lblDriverNo3" runat="server" Text="Driver No: 3"></asp:Label>
                                                        <asp:Label ID="lblDriverId3" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10">
                                                    </div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB3" runat="server"></asp:Label>&nbsp;&nbsp;
                                                                <asp:Label ID="lblDriverGender3" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Salutation:</div>
                                                            <div class="left">
                                                                <uc9:usrSalutation ID="ddlDriverSalutation3" runat="server" ValidationGroup="proposal" />
                                                            </div>
                                                            <div style="display: none;">
                                                                <uc7:usrGender ID="ddlDriverGender3" runat="server" />
                                                            </div>
                                                        </div>
                                                        <div style="display: none">
                                                            <asp:TextBox ID="txtDriverSalGenderValid3" Text="Valid" runat="server"></asp:TextBox>
                                                            <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtDriverSalGenderValid3"
                                                                ValidationGroup="proposal" ID="csvDriverSalGender3" ClientValidationFunction="CheckDriverSalGenderValid3"
                                                                OnServerValidate="CheckDriverSalGenderValid3" runat="server" ErrorMessage="Salutation and gender do not match."
                                                                Text=""></asp:CustomValidator>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverSurName3" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverSurName3"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverSurName3"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div style="display: none;">
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Given Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverGivenName3" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelationship3" runat="server" ErrorMessage=""
                                                                    ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w160 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Type:</div>
                                                            <div class="left">
                                                                <uc8:usrIdType ID="ddlDriverIdType3" runat="server" ValidationGroup="proposal"></uc8:usrIdType>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w160 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Number:</div>
                                                            <div class="left">
                                                                <uc3:usrIdNumber ID="ddlDriverIdNumber3" runat="server" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Year of Driving Licence Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlYearofObtainedDriver3" runat="server">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvYearofObtainedDriver3" ControlToValidate="ddlYearofObtainedDriver3"
                                                                    CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                    Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Record or revoked/endorsed driving licence:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesRevoked3">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked3',true);ValRevoked3(true);CheckRevoked3ValidationCss();"
                                                                        ID="rdoYesRevoked3" runat="server" GroupName="revoked3" />
                                                                    <asp:Label ID="lblYesRevoked3" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoRevoked3">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked3',false);ValRevoked3(false);CheckRevoked3ValidationCss();"
                                                                        ID="rdoNoRevoked3" runat="server" GroupName="revoked3" />
                                                                    <asp:Label ID="lblNoRevoked3" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtRevoked3" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvRevoked3" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtRevoked3" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div id="divRevoked3" style="display: ;">
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Year:</div>
                                                                <div class="left">
                                                                    <asp:DropDownList ID="ddlYearofRevokedDriver3" runat="server">
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvYearofRevokedDriver3" ControlToValidate="ddlYearofRevokedDriver3"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Reason:</div>
                                                                <div class="left">
                                                                    <asp:TextBox ID="txtLicRevokReason3" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvLicRevokReason3" runat="server" CssClass="validationErrorControl"
                                                                        ErrorMessage="" ControlToValidate="txtLicRevokReason3" ValidationGroup="proposal"
                                                                        Text=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> At fault motor claims experiences in past 3 years:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesDriverClaim3">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim3',true);ValDriverClaim3(true);CheckDriverClaim3ValidationCss();"
                                                                        ID="rdoYesDriverClaim3" runat="server" GroupName="driverclaim3" />
                                                                    <asp:Label ID="lblYesDriverClaim3" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoDriverClaim3">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim3',false);ValDriverClaim3(false);CheckDriverClaim3ValidationCss();"
                                                                        ID="rdoNoDriverClaim3" runat="server" GroupName="driverclaim3" />
                                                                    <asp:Label ID="lblNoDriverClaim3" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtDriverClaim3" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvDriverClaim3" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtDriverClaim3" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="clear">
                                                    </div>
                                                    <div id="divDriverClaim3" style="display: ;">
                                                        <div class="h10">
                                                        </div>
                                                        <table width="100%" cellpadding="1" cellspacing="1">
                                                            <tr>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Date of Accident
                                                                </td>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Nature of accident/loss
                                                                </td>
                                                                <td style="width: 17%;">
                                                                    <span class="red">*</span>Amount of claim
                                                                </td>
                                                                <td>
                                                                    <span class="red">*</span>Type of claim
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <uc2:usrDate ID="ddlDateofAccidentDriver3" ErrorMessage="" runat="server" ValidationGroup="proposal" />
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtNatureofAccidentDriver3" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvNatureofAccidentDriver3" ControlToValidate="txtNatureofAccidentDriver3"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtClaimAmountDriver3" runat="server" Width="120px" MaxLength="10"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvClaimAmountDriver3" ControlToValidate="txtClaimAmountDriver3"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="revClaimAmountDriver3" runat="server" ControlToValidate="txtClaimAmountDriver3"
                                                                        CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                        ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlTyeofClaimDriver3" runat="server">
                                                                        <asp:ListItem Value="-1">Select</asp:ListItem>
                                                                        <asp:ListItem Value="Own damage">Own damage</asp:ListItem>
                                                                        <asp:ListItem Value="Third party">Third party</asp:ListItem>
                                                                        <asp:ListItem Value="Fire">Fire</asp:ListItem>
                                                                        <asp:ListItem Value="Theft">Theft</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvTyeofClaimDriver3" ControlToValidate="ddlTyeofClaimDriver3"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="pnlDriver4" runat="server" Width="100%">
                                                <div class="seperator">
                                                </div>
                                                <div>
                                                    <h3>
                                                        <asp:Label ID="lblDriverNo4" runat="server" Text="Driver No: 4"></asp:Label>
                                                        <asp:Label ID="lblDriverId4" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10">
                                                    </div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB4" runat="server"></asp:Label>
                                                                <asp:Label ID="lblDriverGender4" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Salutation:</div>
                                                            <div class="left">
                                                                <uc9:usrSalutation ID="ddlDriverSalutation4" runat="server" ValidationGroup="proposal" />
                                                            </div>
                                                            <div style="display: none;">
                                                                <uc7:usrGender ID="ddlDriverGender4" runat="server" />
                                                            </div>
                                                        </div>
                                                        <div style="display: none">
                                                            <asp:TextBox ID="txtDriverSalGenderValid4" Text="Valid" runat="server"></asp:TextBox>
                                                            <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtDriverSalGenderValid4"
                                                                ValidationGroup="proposal" ID="csvDriverSalGender4" ClientValidationFunction="CheckDriverSalGenderValid4"
                                                                OnServerValidate="CheckDriverSalGenderValid4" runat="server" ErrorMessage="Salutation and gender do not match."
                                                                Text=""></asp:CustomValidator>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverSurName4" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverSurName4"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverSurName4"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div style="display: none;">
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Given Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverGivenName4" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelationship4" runat="server" ErrorMessage=""
                                                                    ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w160 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Type:</div>
                                                            <div class="left">
                                                                <uc8:usrIdType ID="ddlDriverIdType4" runat="server" ValidationGroup="proposal"></uc8:usrIdType>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w160 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Number:</div>
                                                            <div class="left">
                                                                <uc3:usrIdNumber ID="ddlDriverIdNumber4" runat="server" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Year of Driving Licence Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlYearofObtainedDriver4" runat="server">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvYearofObtainedDriver4" ControlToValidate="ddlYearofObtainedDriver4"
                                                                    CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                    Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Record or revoked/endorsed driving licence:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesRevoked4">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked4',true);ValRevoked4(true);CheckRevoked4ValidationCss();"
                                                                        ID="rdoYesRevoked4" runat="server" GroupName="revoked4" />
                                                                    <asp:Label ID="lblYesRevoked4" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoRevoked4">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked4',false);ValRevoked4(false);CheckRevoked4ValidationCss();"
                                                                        ID="rdoNoRevoked4" runat="server" GroupName="revoked4" />
                                                                    <asp:Label ID="lblNoRevoked4" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtRevoked4" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvRevoked4" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtRevoked4" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div id="divRevoked4" style="display: ;">
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Year:</div>
                                                                <div class="left">
                                                                    <asp:DropDownList ID="ddlYearofRevokedDriver4" runat="server">
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvYearofRevokedDriver4" ControlToValidate="ddlYearofRevokedDriver4"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Reason:</div>
                                                                <div class="left">
                                                                    <asp:TextBox ID="txtLicRevokReason4" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvLicRevokReason4" runat="server" CssClass="validationErrorControl"
                                                                        ErrorMessage="" ControlToValidate="txtLicRevokReason4" ValidationGroup="proposal"
                                                                        Text=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> At fault motor claims experiences in past 3 years:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesDriverClaim4">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim4',true);ValDriverClaim4(true);CheckDriverClaim4ValidationCss();"
                                                                        ID="rdoYesDriverClaim4" runat="server" GroupName="driverclaim4" />
                                                                    <asp:Label ID="lblYesDriverClaim4" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoDriverClaim4">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim4',false);ValDriverClaim4(false);CheckDriverClaim4ValidationCss();"
                                                                        ID="rdoNoDriverClaim4" runat="server" GroupName="driverclaim4" />
                                                                    <asp:Label ID="lblNoDriverClaim4" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtDriverClaim4" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvDriverClaim4" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtDriverClaim4" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="clear">
                                                    </div>
                                                    <div id="divDriverClaim4" style="display: ;">
                                                        <div class="h10">
                                                        </div>
                                                        <table width="100%" cellpadding="1" cellspacing="1">
                                                            <tr>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Date of Accident
                                                                </td>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Nature of accident/loss
                                                                </td>
                                                                <td style="width: 17%;">
                                                                    <span class="red">*</span>Amount of claim
                                                                </td>
                                                                <td>
                                                                    <span class="red">*</span>Type of claim
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <uc2:usrDate ID="ddlDateofAccidentDriver4" ErrorMessage="" runat="server" ValidationGroup="proposal" />
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtNatureofAccidentDriver4" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvNatureofAccidentDriver4" ControlToValidate="txtNatureofAccidentDriver4"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtClaimAmountDriver4" runat="server" Width="120px" MaxLength="10"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvClaimAmountDriver4" ControlToValidate="txtClaimAmountDriver4"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="revClaimAmountDriver4" runat="server" ControlToValidate="txtClaimAmountDriver4"
                                                                        CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                        ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlTyeofClaimDriver4" runat="server">
                                                                        <asp:ListItem Value="-1">Select</asp:ListItem>
                                                                        <asp:ListItem Value="Own damage">Own damage</asp:ListItem>
                                                                        <asp:ListItem Value="Third party">Third party</asp:ListItem>
                                                                        <asp:ListItem Value="Fire">Fire</asp:ListItem>
                                                                        <asp:ListItem Value="Theft">Theft</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvTyeofClaimDriver4" ControlToValidate="ddlTyeofClaimDriver4"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="pnlDriver5" runat="server" Width="100%">
                                                <div class="seperator">
                                                </div>
                                                <div>
                                                    <h3>
                                                        <asp:Label ID="lblDriverNo5" runat="server" Text="Driver No: 5"></asp:Label>
                                                        <asp:Label ID="lblDriverId5" Visible="false" runat="server"></asp:Label></h3>
                                                    <div class="h10">
                                                    </div>
                                                    <div class="w43per left">
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Driver DOB/Gender:</div>
                                                            <div class="left pad_6t">
                                                                <asp:Label ID="lblDriverDOB5" runat="server"></asp:Label>&nbsp;&nbsp;
                                                                <asp:Label ID="lblDriverGender5" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Salutation:</div>
                                                            <div class="left">
                                                                <uc9:usrSalutation ID="ddlDriverSalutation5" runat="server" ValidationGroup="proposal" />
                                                            </div>
                                                            <div style="display: none;">
                                                                <uc7:usrGender ID="ddlDriverGender5" runat="server" />
                                                            </div>
                                                        </div>
                                                        <div style="display: none">
                                                            <asp:TextBox ID="txtDriverSalGenderValid5" Text="Valid" runat="server"></asp:TextBox>
                                                            <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtDriverSalGenderValid5"
                                                                ValidationGroup="proposal" ID="csvDriverSalGender5" ClientValidationFunction="CheckDriverSalGenderValid5"
                                                                OnServerValidate="CheckDriverSalGenderValid5" runat="server" ErrorMessage="Salutation and gender do not match."
                                                                Text=""></asp:CustomValidator>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverSurName5" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                                <asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvDriverSurName5"
                                                                    ValidationGroup="proposal" runat="server" ControlToValidate="txtDriverSurName5"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div style="display: none;">
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                Given Name:</div>
                                                            <div class="left">
                                                                <asp:TextBox ID="txtDriverGivenName5" runat="server" MaxLength="50" size="25"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w180 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Relationship to Proposer:</div>
                                                            <div class="left">
                                                                <uc10:usrRelationship ID="ddlDriverRelationship5" runat="server" ErrorMessage=""
                                                                    ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="w56per left">
                                                        <div>
                                                            <div class="w160 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Type:</div>
                                                            <div class="left">
                                                                <uc8:usrIdType ID="ddlDriverIdType5" runat="server" ValidationGroup="proposal"></uc8:usrIdType>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w160 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Identification Number:</div>
                                                            <div class="left">
                                                                <uc3:usrIdNumber ID="ddlDriverIdNumber5" runat="server" ValidationGroup="proposal" />
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Year of Driving Licence Obtained:</div>
                                                            <div class="left">
                                                                <asp:DropDownList ID="ddlYearofObtainedDriver5" runat="server">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvYearofObtainedDriver5" ControlToValidate="ddlYearofObtainedDriver5"
                                                                    CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                    Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> Record or revoked/endorsed driving licence:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesRevoked5">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked5',true);ValRevoked5(true);CheckRevoked5ValidationCss();"
                                                                        ID="rdoYesRevoked5" runat="server" GroupName="revoked5" />
                                                                    <asp:Label ID="lblYesRevoked5" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoRevoked5">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divRevoked5',false);ValRevoked5(false);CheckRevoked5ValidationCss();"
                                                                        ID="rdoNoRevoked5" runat="server" GroupName="revoked5" />
                                                                    <asp:Label ID="lblNoRevoked5" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtRevoked5" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvRevoked5" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtRevoked5" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div id="divRevoked5" style="display: ;">
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Year:</div>
                                                                <div class="left">
                                                                    <asp:DropDownList ID="ddlYearofRevokedDriver5" runat="server">
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvYearofRevokedDriver5" ControlToValidate="ddlYearofRevokedDriver5"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <div class="h10">
                                                                </div>
                                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                                    <span class="red">*</span> Reason:</div>
                                                                <div class="left">
                                                                    <asp:TextBox ID="txtLicRevokReason5" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvLicRevokReason5" runat="server" CssClass="validationErrorControl"
                                                                        ErrorMessage="" ControlToValidate="txtLicRevokReason5" ValidationGroup="proposal"
                                                                        Text=""></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="h10">
                                                        </div>
                                                        <div>
                                                            <div class="w220 left align_right pad_6t pad_7xr">
                                                                <span class="red">*</span> At fault motor claims experiences in past 3 years:</div>
                                                            <div class="left pad_8yr">
                                                                <span id="divYesDriverClaim5">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim5',true);ValDriverClaim5(true);CheckDriverClaim5ValidationCss();"
                                                                        ID="rdoYesDriverClaim5" runat="server" GroupName="driverclaim5" />
                                                                    <asp:Label ID="lblYesDriverClaim5" runat="server" Text="Yes"></asp:Label>
                                                                </span><span>&nbsp;&nbsp;</span> <span id="divNoDriverClaim5">
                                                                    <asp:RadioButton onclick="ShowHideDiv('divDriverClaim5',false);ValDriverClaim5(false);CheckDriverClaim5ValidationCss();"
                                                                        ID="rdoNoDriverClaim5" runat="server" GroupName="driverclaim5" />
                                                                    <asp:Label ID="lblNoDriverClaim5" runat="server" Text="No"></asp:Label>
                                                                </span><span style="display: none">
                                                                    <asp:TextBox ID="txtDriverClaim5" runat="server"></asp:TextBox></span>
                                                                <asp:RequiredFieldValidator ID="rfvDriverClaim5" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtDriverClaim5" ValidationGroup="proposal"
                                                                    Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="clear">
                                                    </div>
                                                    <div id="divDriverClaim5" style="display: ;">
                                                        <div class="h10">
                                                        </div>
                                                        <table width="100%" cellpadding="1" cellspacing="1">
                                                            <tr>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Date of Accident
                                                                </td>
                                                                <td style="width: 25%;">
                                                                    <span class="red">*</span>Nature of accident/loss
                                                                </td>
                                                                <td style="width: 17%;">
                                                                    <span class="red">*</span>Amount of claim
                                                                </td>
                                                                <td>
                                                                    <span class="red">*</span>Type of claim
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <uc2:usrDate ID="ddlDateofAccidentDriver5" ErrorMessage="" runat="server" ValidationGroup="proposal" />
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtNatureofAccidentDriver5" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvNatureofAccidentDriver5" ControlToValidate="txtNatureofAccidentDriver5"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtClaimAmountDriver5" runat="server" Width="120px" MaxLength="10"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="rfvClaimAmountDriver5" ControlToValidate="txtClaimAmountDriver5"
                                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                                        runat="server"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="revClaimAmountDriver5" runat="server" ControlToValidate="txtClaimAmountDriver5"
                                                                        CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                                        ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlTyeofClaimDriver5" runat="server">
                                                                        <asp:ListItem Value="-1">Select</asp:ListItem>
                                                                        <asp:ListItem Value="Own damage">Own damage</asp:ListItem>
                                                                        <asp:ListItem Value="Third party">Third party</asp:ListItem>
                                                                        <asp:ListItem Value="Fire">Fire</asp:ListItem>
                                                                        <asp:ListItem Value="Theft">Theft</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                    <asp:RequiredFieldValidator ID="rfvTyeofClaimDriver5" ControlToValidate="ddlTyeofClaimDriver5"
                                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                        <div class="bottom">
                                        </div>
                                    </div>
                                    <div class="seperator">
                                    </div>
                                </asp:Panel>
                                <div class="hilite">
                                    <div class="top">
                                    </div>
                                    <div class="body_in pad_15x">
                                        <h1>
                                            Details of Vehicle</h1>
                                        <div class="seperator">
                                        </div>
                                        <div class="w43per left">
                                            <div id="divVehicleNo">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Vehicle Registration No:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtVehicleNo" runat="server" MaxLength="40" size="25"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvVehicleNo" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtVehicleNo" Display="Dynamic"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="clear"></div>
                                            <div id="div13" style="text-align:center;">
                                                <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtVehicleNoValid"
                                                        ValidationGroup="proposal" ID="csvVehicleNoValid" runat="server" ErrorMessage="we do not accept commercial vehicle"
                                                        Text="" OnServerValidate="csvVehicleNoValid_ServerValidate"></asp:CustomValidator>
                                                    <div style="display:none;"><asp:TextBox ID="txtVehicleNoValid" Text="Valid" runat="server"></asp:TextBox></div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divEngineType">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Engine Type:</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlEngineType" runat="server">
                                                        <asp:ListItem Text="Select" Value="-1"></asp:ListItem>
                                                        <asp:ListItem Text="Standard" Value="Standard"></asp:ListItem>
                                                        <asp:ListItem Text="Turbo/Rotary/Super-charged" Value="Turbo/Rotary/Super-charged"></asp:ListItem>
                                                        <asp:ListItem Text="Others" Value="Others"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvEngineType" ControlToValidate="ddlEngineType"
                                                        CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                        Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divPurPrice">
                                                <div class="w180 left align_right pad_6t pad_7xr">
                                                    Purchase Price:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtPurchasePrice" MaxLength="7" size="25" runat="server"></asp:TextBox>
                                                    <asp:RegularExpressionValidator ID="revPurchasePrice" runat="server" ControlToValidate="txtPurchasePrice"
                                                        CssClass="validationErrorControl" ErrorMessage="" ValidationGroup="proposal"
                                                        ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="w56per left">
                                            <div id="divChassisNo">
                                                <div class="w160 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Chassis No:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtChassisNo" MaxLength="30" runat="server" size="30"></asp:TextBox>&nbsp;
                                                    <asp:RequiredFieldValidator ID="rfvChassisNo" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtChassisNo"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divEngineNo">
                                                <div class="w160 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Engine No:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtEngineNo" MaxLength="30" runat="server" size="30"></asp:TextBox>&nbsp;
                                                    <asp:RequiredFieldValidator ID="rfvEngineNo" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ControlToValidate="txtEngineNo"></asp:RequiredFieldValidator>
                                                    <div class="h10">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="clear">
                                            </div>
                                        </div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="bottom">
                                    </div>
                                </div>
                                <div class="seperator">
                                </div>
                                <div class="twoclmn">
                                    <div class="top">
                                    </div>
                                    <div class="body pad_15x">
                                        <h1>
                                            General Questions</h1>
                                        <div class="seperator">
                                        </div>
                                        <div class="">
                                            <div id="divVechicleModificationStatus" class="mar_10by">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> Has the car been modified, converted, customized or has
                                                    there been increased performance from manufacturer's standard specification (including
                                                    any intended alterations)?
                                                </div>
                                                <div class="w220 left pad_20_10x">
                                                    <span id="divYesVechicleModification">
                                                        <asp:RadioButton onclick="ShowHideDiv('divVechicleModification',true);ValVechicleModification(true);CheckVechicleModificationValidationCss();"
                                                            ID="rdoYesVechicleModification" runat="server" GroupName="vechiclemodification" />
                                                        <asp:Label ID="lblYesVechicleModification" runat="server" Text="Yes"></asp:Label>
                                                    </span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="divNoVechicleModification">
                                                        <asp:RadioButton onclick="ShowHideDiv('divVechicleModification',false);ValVechicleModification(false);CheckVechicleModificationValidationCss();"
                                                            ID="rdoNoVechicleModification" runat="server" GroupName="vechiclemodification"
                                                            Checked="true" />
                                                        <asp:Label ID="lblNoVechicleModification" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtVechicleModification" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvVechicleModification" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtVechicleModification"
                                                        ValidationGroup="proposal" Text=""></asp:RequiredFieldValidator>
                                                    <div style="display: none" id="divVechicleModification">
                                                        <div>
                                                            <div class="h7">
                                                            </div>
                                                            <span class="red">*</span> Please specify<br />
                                                            <div id="divVMPleasespecify">
                                                                <asp:TextBox ID="txtVMReason" runat="server" Columns="24" MaxLength="30" Rows="2"
                                                                    TextMode="MultiLine" class="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvVMReason" ControlToValidate="txtVMReason" ErrorMessage=""
                                                                    ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="h7">
                                            </div>
                                            <div id="divHirePurchasestatus" class="mar_10by">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> Any Hire Purchase?
                                                </div>
                                                <div class="w220 left pad_20_10x">
                                                    <span id="divYesHirePurchase">
                                                        <asp:RadioButton onclick="ShowHideDiv('divHirePurchase',true);ValHirePurchase(true);CheckHirePurchaseValidationCss();"
                                                            ID="rdoYesHirePurchase" runat="server" GroupName="hirepurchase" />
                                                        <asp:Label ID="lblYesHirePurchase" runat="server" Text="Yes"></asp:Label>
                                                    </span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="divNoHirePurchase">
                                                        <asp:RadioButton onclick="ShowHideDiv('divHirePurchase',false);ValHirePurchase(false);CheckHirePurchaseValidationCss();"
                                                            ID="rdoNoHirePurchase" runat="server" GroupName="hirepurchase" Checked="true" />
                                                        <asp:Label ID="lblNoHirePurchase" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtHirePurchase" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvHirePurchase" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtHirePurchase" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                    <div id="divHirePurchase" style="display: ">
                                                        <div>
                                                            <div class="h7">
                                                            </div>
                                                            <span class="red">*</span> Company Name<br />
                                                            <div>
                                                                <asp:DropDownList ID="ddlHirePurchaseCompany" Width="217px" runat="server">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvHirePurchaseCompany" ControlToValidate="ddlHirePurchaseCompany"
                                                                    CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                    Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="h7">
                                            </div>
                                            <div id="divYoungDriver" class="mar_10by">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> Would the car be driven by any Young and/or Inexperienced
                                                    driver (aged below 26 years and/or has a full driving license for less than 2 years)
                                                    ?
                                                </div>
                                                <div class="w220 left pad_20_10x">
                                                    <span id="divYesYoungDriver">
                                                        <asp:RadioButton ID="rdoYesYoungDriver" runat="server" GroupName="youngdriver" />
                                                        <asp:Label ID="lblYesYoungDriver" runat="server" Text="Yes"></asp:Label>
                                                    </span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="divNoYoungDriver">
                                                        <asp:RadioButton ID="rdoNoYoungDriver" runat="server" GroupName="youngdriver" Checked="true" />
                                                        <asp:Label ID="lblNoYoungDriver" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                </div>
                                            </div>
                                            <div class="h7">
                                            </div>
                                            <div id="divCompanyCar" class="mar_10by">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> Company Registered Car?
                                                </div>
                                                <div class="w220 left pad_20_10x">
                                                    <span id="div7">
                                                        <asp:RadioButton ID="rdoYesCompanyCar" runat="server" GroupName="companycar" />
                                                        <asp:Label ID="lblYesCompanyCar" runat="server" Text="Yes"></asp:Label>
                                                    </span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="div8">
                                                        <asp:RadioButton ID="rdoNoCompanyCar" runat="server" GroupName="companycar" Checked="true" />
                                                        <asp:Label ID="lblNoCompanyCar" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                </div>
                                            </div>
                                            <div class="h7">
                                            </div>
                                            <div id="divDeclinedCar" class="mar_10by">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> Has any insurance company ever declined your proposal,
                                                    cancelled or refused to renew your policy during the last 3 years?
                                                </div>
                                                <div class="w220 left pad_20_10x">
                                                    <span id="div10">
                                                        <asp:RadioButton ID="rdoYesDeclinedCar" runat="server" GroupName="declinedcar" />
                                                        <asp:Label ID="lblYesDeclinedCar" runat="server" Text="Yes"></asp:Label>
                                                    </span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="div11">
                                                        <asp:RadioButton ID="rdoNoDeclinedCar" runat="server" GroupName="declinedcar" Checked="true" />
                                                        <asp:Label ID="lblNoDeclinedCar" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                </div>
                                            </div>
                                            <%-- <div class="h7">
                                            </div>
                                            <div id="divNoNCDProtection" class="mar_10by">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> I opt to insure with No Claim Discount Protection (Applicable
                                                    to 50% NCD only)
                                                </div>
                                                <div class="w220 left pad_20_10x">
                                                    <span id="div9">
                                                        <asp:RadioButton ID="rdoYesNONCDProtect" runat="server" GroupName="noncdprotect" />
                                                        <asp:Label ID="lblYesNONCDProtect" runat="server" Text="Yes"></asp:Label>
                                                    </span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="div12">
                                                        <asp:RadioButton ID="rdoNoNONCDProtect" runat="server" GroupName="noncdprotect" Checked="true" />
                                                        <asp:Label ID="lblNoNONCDProtect" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                </div>
                                            </div>--%>
                                            <%--<div class="h7">
                                            </div>
                                            <div id="divCOE" class="mar_10by">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> I opt to insure without COE/PARF
                                                </div>
                                                <div class="w220 left pad_20_10x">
                                                    <span id="div13">
                                                        <asp:RadioButton ID="rdoYesCOE" runat="server" GroupName="COE" />
                                                        <asp:Label ID="lblYesCOE" runat="server" Text="Yes"></asp:Label>
                                                    </span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="div14">
                                                        <asp:RadioButton ID="rdoNoCOE" runat="server" GroupName="COE" Checked="true" />
                                                        <asp:Label ID="lblNoCOE" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                </div>
                                            </div>--%>
                                            <div class="h7">
                                            </div>
                                            
                                            <div id="divLicenceRevokedstatus" class="mar_10by">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> Record or revoked/endorsed driving licence
                                                </div>
                                                <div class="w220 left pad_20_10x">
                                                    <span id="divYesLicenceRevoked">
                                                        <asp:RadioButton onclick="ShowHideDiv('divLicenceRevoked',true);ValLicenceRevoked(true);CheckLicenceRevokedValidationCss();"
                                                            ID="rdoYesLicenceRevoked" runat="server" GroupName="licencerevoked" />
                                                        <asp:Label ID="lblYesLicenceRevoked" runat="server" Text="Yes"></asp:Label>
                                                    </span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="divNoLicenceRevoked">
                                                        <asp:RadioButton onclick="ShowHideDiv('divLicenceRevoked',false);ValLicenceRevoked(false);CheckLicenceRevokedValidationCss();"
                                                            ID="rdoNoLicenceRevoked" runat="server" GroupName="licencerevoked" Checked="true" />
                                                        <asp:Label ID="lblNoLicenceRevoked" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                    <div style="display: none">
                                                        <asp:TextBox ID="txtLicenceRevoked" runat="server"></asp:TextBox></div>
                                                    <asp:RequiredFieldValidator ID="rfvLicenceRevoked" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtLicenceRevoked" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                    <div id="divLicenceRevoked" style="display: ">
                                                        <div>
                                                            <div class="h7">
                                                            </div>
                                                            <span class="red">*</span> Year<br />
                                                            <div>
                                                                <asp:DropDownList ID="ddlYearofRevoked" runat="server">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvYearofRevoked" ControlToValidate="ddlYearofRevoked"
                                                                    CssClass="validationErrorControl" runat="server" InitialValue="-1" ValidationGroup="proposal"
                                                                    Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </div>
                                                            <div class="h7">
                                                            </div>
                                                            <span class="red">*</span> Reason<br />
                                                            <div>
                                                                <asp:TextBox ID="txtLicenceRevokedReason" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvLicenceRevokedReason" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage="" ControlToValidate="txtLicenceRevokedReason"
                                                                    ValidationGroup="proposal" Text=""></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="h7">
                                            </div>
                                            <div id="divSocialPurpose">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> State the purpose
                                                </div>
                                                <div class="w230 left pad_20_10x">
                                                    <asp:DropDownList ID="ddlPurpose" runat="server">
                                                        <asp:ListItem Text="Select" Value="-1"></asp:ListItem>
                                                        <asp:ListItem Text="Social, domestic & pleasure purpose" Value="Social, domestic & pleasure purpose"></asp:ListItem>
                                                       <asp:ListItem Text="Business purpose" Value="Business purpose"></asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvPurpose" ControlToValidate="ddlPurpose" CssClass="validationErrorControl"
                                                        runat="server" InitialValue="-1" ValidationGroup="proposal" Text="" ErrorMessage=""></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h7">
                                            </div>
                                            <%--<div id="divSocialPurpose">
                                                <div class="w650 left align_right pad_10xr">
                                                    <span class="red">*</span> Is the car being used for social, domestic and pleasure
                                                    purposes and business of proposer, proposer's employer or partner?
                                                </div>
                                                <div class="w220 left pad_20_10x">
                                                    <span id="div15">
                                                        <asp:RadioButton ID="rdoYesSocialPurpose" runat="server" GroupName="socialpurpose" />
                                                        <asp:Label ID="lblYesSocialPurpose" runat="server" Text="Yes"></asp:Label>
                                                    </span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="div16">
                                                        <asp:RadioButton ID="rdoNoSocialPurpose" runat="server" GroupName="socialpurpose"
                                                            Checked="true" />
                                                        <asp:Label ID="lblNoSocialPurpose" runat="server" Text="No"></asp:Label>
                                                    </span>
                                                </div>
                                            </div>--%>
                                            <div class="h7">
                                            </div>
                                        </div>
                                        <div class="w200 left pad_30x">
                                        </div>
                                    </div>
                                    <div class="bottom">
                                    </div>
                                </div>
                                <div style="display: " id="divNCDProtection">
                                    <div class="seperator">
                                    </div>
                                    <div class="hilite" id="divNCDProtectionHeader">
                                        <div class="top">
                                        </div>
                                        <div class="body_in pad_15x">
                                            <h1>
                                                NCD Protection</h1>
                                            <div class="h7">
                                            </div>
                                            <div>
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> NCD Protection:</div>
                                                <div class="left pad_8yr">
                                                    <span id="divNoNCD">
                                                        <input id="inputNCD" value="" runat="server" type="hidden" />
                                                        <input id="inputCurrentNCD" value="" runat="server" type="hidden" />
                                                        <input id="inputClaim" value="" runat="server" type="hidden" />
                                                        <asp:RadioButton runat="server" ID="rdoNo" GroupName="ncdprotect" onclick="SetPremiumValue();"
                                                            Checked="true" />
                                                        <asp:Label ID="Label1" runat="server" Text="NO"></asp:Label>
                                                    </span><span id="divYesNCD">
                                                        <asp:RadioButton runat="server" ID="rdoYes" GroupName="ncdprotect" onclick="SetPremiumValue();" />
                                                        <asp:Label ID="Label2" runat="server" Text="YES"></asp:Label>
                                                    </span>
                                                </div>
                                            </div>
                                            <div id="divPremiumRates" style="display: ">
                                                <div class="h7">
                                                </div>
                                                <div>
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        Premium BEFORE NCD Protection:</div>
                                                    <div class="left pad_8yr" id="div9">
                                                        <asp:Label ID="lblPremiumBeforeNCDPro" Font-Bold="true" runat="server" />
                                                        <asp:Label ID="lblPremiumBeforeNCDProNoFormat" Font-Bold="true" Visible="false" runat="server"></asp:Label>
                                                    </div>
                                                </div>
                                                <div class="h7">
                                                </div>
                                                <div>
                                                    <div class="w220 left align_right pad_6t pad_7xr">
                                                        Premium AFTER NCD Protection:</div>
                                                    <div class="left pad_8yr" id="div12">
                                                        <asp:Label ID="lblPremiumAfterNCDPro" Font-Bold="true" runat="server"></asp:Label>
                                                        <asp:Label ID="lblPremiumAfterNCDProNoFormat" Font-Bold="true" runat="server" Visible="false"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                        </div>
                                        <div class="bottom">
                                        </div>
                                    </div>
                                </div>
                                <div class="seperator">
                                </div>

                                <script type="text/javascript">
                                    IncreaseProgress(60);
                                </script>

                                <div class="norm">
                                    <div class="top">
                                    </div>
                                    <div class="body">
                                        <div class="pad_15x">
                                            <h1>
                                                Important notice to proposer</h1>
                                            <div class="seperator">
                                            </div>
                                            <p>
                                                1. Please ensure that the information provided in this proposal form is complete
                                                and accurate to your best knowledge. Failure to disclose any facts that the Company
                                                would regard as likely to affect the acceptance and assesment of the proposal could
                                                result in your insurance being declared invalid. If you have any doubt about whether
                                                a particular fact should be declared, you should disclose it.&nbsp;&nbsp;&nbsp;&nbsp;
                                                <i>More Info</i>
                                                <img id='imgImMore' alt="Click to show/hide More Info" border="0" src="../../images/icons/sort_down.GIF"
                                                    onclick="showhide('divImNotice');" /></p>
                                            <div class="seperator">
                                            </div>
                                        </div>
                                        <div id="divImNotice" style="display: " class="pad_15x">
                                            <p>
                                                2. This document is not a contract of insurance. The specific terms, conditions
                                                and exclutions applicable to the insurance are set out in the Policy. This insurance
                                                wil not be in force until the proposal has been accepted by the Company and premium
                                                paid.</p>
                                            <div class="seperator">
                                            </div>
                                            <p>
                                                3. A specimen copy of the policy contract is available on request.</p>
                                            <div class="seperator">
                                            </div>
                                            <p>
                                                4. Please note that all policies, renewal certificates, cover notes, endorsements
                                                for policies carry a Payment Before Cover Warranty for individual policyholders
                                                and a Premium Payment Warranty for companies and businesses,which requires the premium
                                                to be paid in full within a specific period failing which there would be no liability
                                                under the policy.</p>
                                        </div>
                                    </div>
                                    <div class="bottom">
                                    </div>
                                </div>
                                <div class="seperator">
                                </div>
                                <div class="norm">
                                    <div class="top">
                                    </div>
                                    <div class="body">
                                        <div class="pad_15x">
                                            <h1>
                                                Declaration</h1>
                                            <div class="seperator">
                                            </div>
                                            <p>
                                                I/We understand and declare that<br />
                                                <br />
                                                1. <b>No Claim Discount</b> - No Claim Discount (NCD) is accurate as stated and
                                                a cancellation of cover with existing/ex-insurer has to be effected in order for
                                                the declared NCD to be applied from the inception of this risk proposed. &nbsp;&nbsp;&nbsp;&nbsp;<i>More
                                                    Info</i>
                                                <img id='imgDeclaration' alt="Click to show/hide More Info" border="0" src="../../images/icons/sort_down.GIF"
                                                    onclick="showhide('divDeclaration');" /></p>
                                            <div class="seperator">
                                            </div>
                                        </div>
                                        <div style="display: " id="divDeclaration" class="pad_15x">
                                            <p>
                                                2. <b>Unnamed Driver Excess</b> - If the Insured Motor car is driven by any unnamed
                                                driver other than the Insured's spouse at the time of accident, an additional excess
                                                of S$500 under Section I will apply. However, if the unnamed driver (including the
                                                Insured's spouse) is below 26 years old and/or has less than 2 years of valid driving
                                                license to drive in Singapore for the relevant class of vehicle, an additional young
                                                and/or inexperienced driver excess of S$3,500 will apply. If the authorised driver
                                                is declared and named in the policy, a lower excess may apply (subject to underwriting
                                                by the Company). This clause does not apply to Named Driver(s) Only Policies.</p>
                                            <div class="seperator">
                                            </div>
                                            <p>
                                                3. <b>Appointed Workshop Scheme</b><br />
                                                &nbsp;&nbsp;&nbsp;a) Under Premier Plan, all accident repairs must be carried out
                                                by HSBC's appointed Workshops However, if the car is still under manufacturer's
                                                original warranty, repairs can be carried out by the sole distributor's workshop.<br />
                                                &nbsp;&nbsp;&nbsp;b) Under Classic Plan, all accident repairs must be carried out
                                                by HSBC's appointed workshops.</p>
                                            <div class="seperator">
                                            </div>
                                            <p>
                                                4. <b>Cancellation of Policy</b> - HSBC may cancel this Policy by giving 7 days'
                                                notice to the Insured and will return to the Insured the premium paid less the pro
                                                rata portion thereof for the period the Policy has been in force which amount the
                                                Insured has become liable to pay (the "Unused portion of the premium"). Insured
                                                may cancel this Policy by giving 7 day's notice to HSBC and shall be entitled to
                                                a return of 80% of the Unused portion of the premium. Provided always that in each
                                                event no claim has arisen or been reported prior to the cancellation and the Insured
                                                shall return the current Certificate(s) of Insurance on or before date of cancellation
                                                and pay premium due promptly.</p>
                                            <p>
                                                5. The above mentioned motor car is and will be kept in good condition and I/we
                                                do hereby warrant the truth of the particulars and answers given herein and that
                                                I/we have withheld no information whatever that might tend in any way increase the
                                                Company's risk or to influence the decision of the Company regarding this proposal.
                                                I/We agree to accept a policy subject to the provisions and conditions of such policy,
                                                and to the amount of the excess imposed. I/We agree that this proposal and declaration
                                                shall be the basis of the contract between me/us and the Company.</p>
                                            <div class="seperator">
                                            </div>
                                            <p>
                                                6. I/we agree that where HSBC considers necessary or appropriate, it may transfer
                                                data, details or information to the appointed service provider(s) whether situated
                                                in or outside Singapore, under conditions of confidenciality imposed on such service
                                                providers, for the purpose of data processing or providing any service on may/our
                                                behalf. The appointed service providers may be required by law to disclose information
                                                received from me/us to third parties. Such circumstances include the service provider(s)
                                                being compelled to discose information pursuant to a court order, police investigations
                                                and criminal prosecutions for tax evasion or other offences.</p>
                                        </div>
                                    </div>
                                    <div class="bottom">
                                    </div>
                                </div>
                                <div class="seperator">
                                </div>

                                <script type="text/javascript">
                                    IncreaseProgress(75);
                                </script>

                                <div class="hilite" id="paymentmode">
                                    <div class="top">
                                    </div>
                                    <div class="body_in pad_15x">
                                        <h1>
                                            Payment Mode</h1>
                                        <div class="seperator">
                                        </div>
                                        I / We authorised HSBC Insurance (Singapore) Pte. Limited to debit the premium amount
                                        due in connection with above insurance policy to my nominated Credit Card Account.
                                        Where a third party Credit Card is used, I declared that the cardholder has authorised
                                        and consented to its use.
                                        <div class="seperator">
                                        </div>
                                        <div>
                                            <div id="divPaymentType" style="display: none;">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Type:</div>
                                                <div class="left">
                                                    <span id="divAnnualPayment">
                                                        <asp:RadioButton ID="rdoAnnualPayment" onclick="CheckInstallmentType();" Text="Annual"
                                                            runat="server" GroupName="paymenttype" Checked="true" />
                                                    </span><span>&nbsp;&nbsp;</span> <span id="divMonthlyPayment">
                                                        <asp:RadioButton ID="rdoMonthlyPayment" onclick="CheckInstallmentType();" Text="Monthly"
                                                            runat="server" GroupName="paymenttype" />
                                                    </span>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divNameoftheCard">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Cardholder's Name:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtNameoftheCard" MaxLength="50" runat="server" size="25"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvNameoftheCard" ControlToValidate="txtNameoftheCard"
                                                        ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                        runat="server"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divIssuingBank">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Issuing Bank:</div>
                                                <div class="left">
                                                    <div id="divIssuingBankDropDown">
                                                        <asp:DropDownList ID="ddlIssuingBank" onclick="CheckIssuingBankDropDown();" runat="server">
                                                            <asp:ListItem Text="HSBC Bank" Value="HSBC Bank" />
                                                            <asp:ListItem Text="OCBC Bank" Value="OCBC Bank" />
                                                        </asp:DropDownList>
                                                    </div>
                                                    <div id="divIssuingBankText">
                                                        <asp:TextBox ID="txtIssuingBank" MaxLength="50" runat="server" size="25"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvIssuingBank" ControlToValidate="txtIssuingBank"
                                                            ErrorMessage="" ValidationGroup="proposal" CssClass="validationErrorControl"
                                                            runat="server"></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divCardNo">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Credit Card Number:</div>
                                                <div class="left">
                                                    <asp:TextBox ID="txtCardNo1" runat="server" MaxLength="4" size="8"></asp:TextBox>
                                                    <asp:TextBox ID="txtCardNo2" runat="server" MaxLength="4" size="8"></asp:TextBox>
                                                    <asp:TextBox ID="txtCardNo3" runat="server" MaxLength="4" size="8"></asp:TextBox>
                                                    <asp:TextBox ID="txtCardNo4" runat="server" MaxLength="4" size="8"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvCardNo1" ControlToValidate="txtCardNo1" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revCardNo1" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{4}" ControlToValidate="txtCardNo1"></asp:RegularExpressionValidator>
                                                    <asp:RequiredFieldValidator ID="rfvCardNo2" ControlToValidate="txtCardNo2" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revCardNo2" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{4}" ControlToValidate="txtCardNo2"></asp:RegularExpressionValidator>
                                                    <asp:RequiredFieldValidator ID="rfvCardNo3" ControlToValidate="txtCardNo3" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revCardNo3" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{4}" ControlToValidate="txtCardNo3"></asp:RegularExpressionValidator>
                                                    <asp:RequiredFieldValidator ID="rfvCardNo4" ControlToValidate="txtCardNo4" ErrorMessage=""
                                                        ValidationGroup="proposal" CssClass="validationErrorControl" runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="revCardNo4" runat="server" CssClass="validationErrorControl"
                                                        ErrorMessage="" ValidationGroup="proposal" ValidationExpression="[0-9]{4}" ControlToValidate="txtCardNo4"></asp:RegularExpressionValidator>
                                                    <span style="clear: both">
                                                        <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtCreditCardValid"
                                                            ValidationGroup="proposal" ID="csvCreditCardValid" runat="server" ErrorMessage="Credit Card number not valid."
                                                            Text="" OnServerValidate="csvCreditCardValid_ServerValidate"></asp:CustomValidator>
                                                    </span><span style="display: none">
                                                        <asp:TextBox ID="txtCreditCardValid" Text="Valid" runat="server"></asp:TextBox>
                                                    </span>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divCardExpiry">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Card Expiry Date:</div>
                                                <div class="left">
                                                    <asp:DropDownList ID="ddlCardExpiryMonth" runat="server">
                                                        <asp:ListItem Selected="True" Value="-1">mm</asp:ListItem>
                                                        <asp:ListItem Value="01">01</asp:ListItem>
                                                        <asp:ListItem Value="02">02</asp:ListItem>
                                                        <asp:ListItem Value="03">03</asp:ListItem>
                                                        <asp:ListItem Value="04">04</asp:ListItem>
                                                        <asp:ListItem Value="05">05</asp:ListItem>
                                                        <asp:ListItem Value="06">06</asp:ListItem>
                                                        <asp:ListItem Value="07">07</asp:ListItem>
                                                        <asp:ListItem Value="08">08</asp:ListItem>
                                                        <asp:ListItem Value="09">09</asp:ListItem>
                                                        <asp:ListItem Value="10">10</asp:ListItem>
                                                        <asp:ListItem Value="11">11</asp:ListItem>
                                                        <asp:ListItem Value="12">12</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:DropDownList ID="ddlCardExpiryYear" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="rfvCardExpiryMonth" ControlToValidate="ddlCardExpiryMonth"
                                                        ErrorMessage="" ValidationGroup="proposal" InitialValue="-1" Text="" CssClass="validationErrorControl"
                                                        runat="server"></asp:RequiredFieldValidator>
                                                    <asp:RequiredFieldValidator ID="rfvCardExpiryYear" ControlToValidate="ddlCardExpiryYear"
                                                        ErrorMessage="" ValidationGroup="proposal" InitialValue="-1" Text="" CssClass="validationErrorControl"
                                                        runat="server"></asp:RequiredFieldValidator>
                                                    <asp:CustomValidator CssClass="validationErrorControl" ControlToValidate="txtCCExpiredValid"
                                                        ValidationGroup="proposal" ID="csvCCExpiredValid" runat="server" ErrorMessage="Credit Card expire not valid."
                                                        Text="" OnServerValidate="csvCCExpiredValid_ServerValidate"></asp:CustomValidator>
                                                    <span style="display: none">
                                                        <asp:TextBox ID="txtCCExpiredValid" Text="Valid" runat="server"></asp:TextBox>
                                                    </span>
                                                </div>
                                            </div>
                                            <div class="h10">
                                            </div>
                                            <div id="divCardType">
                                                <div class="w220 left align_right pad_6t pad_7xr">
                                                    <span class="red">*</span> Card Type:</div>
                                                <div class="left">
                                                    <span id="divVisa">
                                                        <asp:RadioButton onclick="ValCheckCardType();CheckCardTypeValidationCss();" ID="rdoVisa"
                                                            runat="server" GroupName="cardtype" />
                                                        &nbsp;<asp:Label ID="lblVisa" runat="server" Text="VISA"></asp:Label>
                                                    </span><span>&nbsp;&nbsp;</span> <span id="divMasterCard">
                                                        <asp:RadioButton onclick="ValCheckCardType();CheckCardTypeValidationCss();" ID="rdoMasterCard"
                                                            runat="server" GroupName="cardtype" />
                                                        &nbsp;<asp:Label ID="lblMasterCard" runat="server" Text="MasterCard"></asp:Label>
                                                    </span><span style="display: none">
                                                        <asp:TextBox ID="txtCardType" runat="server"></asp:TextBox></span>
                                                    <asp:RequiredFieldValidator ID="rfvCardType" runat="server" CssClass="validationErrorControl"
                                                        Display="Dynamic" ErrorMessage="" ControlToValidate="txtCardType" ValidationGroup="proposal"
                                                        Text=""></asp:RequiredFieldValidator>
                                                    <div class="clear">
                                                    </div>
                                                    <em class="note">(Only VISA or Master Credit Card is acceptable for premium payment)</em>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="seperator">
                                        </div>
                                        By submitting this proposal form, I am aware that any refund will be paid by cheque
                                        to the Insured/Policyholder. HSBC Insurance (Singapore) Pte. Limited will consider
                                        all declared information as true and correct. This Credit Card payment is subject
                                        to the terms of the Credit Card Agreement.
                                    </div>
                                    <div class="bottom">
                                    </div>
                                </div>
                                <div class="seperator">
                                </div>
                                <%--ShowHideDiv('divDeclaration',true);--%>
                                <div class="center align_center" id="divFormButtons">
                                    <asp:ImageButton ID="ibtSubmit" OnClientClick="LoadValidationErrorCss();CheckOptionValidationCss();return SubmitConfirm();"
                                        runat="server" CssClass="button" ValidationGroup="proposal" ImageUrl="~/images/forms_proposal/button/submit.png"
                                        OnClick="ibtSubmit_Click" />
                                    <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
                                    <div class="note">
                                        <img src="/images/forms_proposal/icon/warning.png" width="21" height="18" alt="Note"
                                            style="vertical-align: middle; padding-bottom: 3px" />
                                        <strong>Note</strong>, by clicking on the SUBMIT button you agree to our Website's
                                        <a href="/terms/" target="_blank">Terms &amp; Conditions</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="bottom">
                        </div>
                    </div>
                </div>
                <div class="seperator">
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        IncreaseProgress(90);
    </script>

    <div id="footer">
        <div id="nav_bottom" class="pad_7t">
            <div class="left pad_8yr">
              <%--  <asp:ImageButton ID="imgbtnBackBottom" runat="server" ImageUrl="/images/forms_proposal/button/back.png"
                    OnClick="imgbtnBackTop_Click" OnClientClick="return confirm('Are you sure to go back?');" />  --%>    
                     <a href="/car-insurance/results.aspx" id="A1" onclick="return confirm('Are you sure to go back?');">
                    <img src="/images/forms_proposal/button/back.png" alt="Back" /></a>       
            </div>
            <div class="right pad_8yr">
                <a href="#" onclick="window.print()">
                    <img src="/images/forms_proposal/button/print.png" alt="Print" /></a>
            </div>
        </div>
    </div>

    <script type="text/javascript">

        function DisableFunction() {
            var drivercount = document.getElementById('<%=txtDriverCount.ClientID%>').value;
            if (drivercount >= 1) {

                ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver1.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvLicRevokReason1.ClientID%>'), false);
                //alert("1");
                IsEnableDateValidation('<%=ddlDateofAccidentDriver1.ClientID%>', false);
                ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver1.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver1.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=revClaimAmountDriver1.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver1.ClientID%>'), false);
                //alert("2");
            }
            if (drivercount >= 2) {
                ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver2.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvLicRevokReason2.ClientID%>'), false);
                //alert("3");
                IsEnableDateValidation('<%=ddlDateofAccidentDriver2.ClientID%>', false);
                ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver2.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver2.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=revClaimAmountDriver2.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver2.ClientID%>'), false);
                //alert("4");
            }
            if (drivercount >= 3) {
                ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver3.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvLicRevokReason3.ClientID%>'), false);
                //alert("5");
                IsEnableDateValidation('<%=ddlDateofAccidentDriver3.ClientID%>', false);
                ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver3.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver3.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=revClaimAmountDriver3.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver3.ClientID%>'), false);
                //alert("6");
            }
            if (drivercount >= 4) {
                ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver4.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvLicRevokReason4.ClientID%>'), false);
                //alert("7");
                IsEnableDateValidation('<%=ddlDateofAccidentDriver4.ClientID%>', false);
                ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver4.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver4.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=revClaimAmountDriver4.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver4.ClientID%>'), false);
                //alert("8");
            }
            if (drivercount >= 5) {
                ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver5.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvLicRevokReason5.ClientID%>'), false);
                //alert("9");
                IsEnableDateValidation('<%=ddlDateofAccidentDriver5.ClientID%>', false);
                ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver5.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver5.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=revClaimAmountDriver5.ClientID%>'), false);
                ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver5.ClientID%>'), false);
                //alert("10");
            }
        }


        function ShowHideDiv(divName, varOnOff) {
            if (varOnOff) {
                document.getElementById(divName).style.display = "";
            }
            else {
                document.getElementById(divName).style.display = "none";
            }
        }


        function CheckOptionValidationCss() {
            //CheckInsuranceTransferredValidationCss();
            CheckVechicleModificationValidationCss();
            CheckHirePurchaseValidationCss();
            CheckLicenceRevokedValidationCss();
            var drivercount = document.getElementById('<%=txtDriverCount.ClientID%>').value;
            if (drivercount >= 1) {
                CheckRevoked1ValidationCss();
                CheckDriverClaim1ValidationCss();
            }
            if (drivercount >= 2) {
                CheckRevoked2ValidationCss();
                CheckDriverClaim2ValidationCss();
            }
            if (drivercount >= 3) {
                CheckRevoked3ValidationCss();
                CheckDriverClaim3ValidationCss();
            }
            if (drivercount >= 4) {
                CheckRevoked4ValidationCss();
                CheckDriverClaim4ValidationCss();
            }
            if (drivercount >= 5) {
                CheckRevoked5ValidationCss();
                CheckDriverClaim5ValidationCss();
            }
            //CheckPurposeofuseValidationCss();
            CheckCardTypeValidationCss();
            ShowHideNCDReasonStatus();
            //EnableDisableDriverValidations();
        }

        function CheckValidationCss(divYes, divNo, ctrlText, valCtrl) {
            ShowValidationEffectOption(divYes, divNo, ctrlText, valCtrl);
            return true;
        }

        function CheckValidationCssThree(div1, div2, div3, ctrlText, valCtrl) {
            ShowValidationEffectOptionThree(div1, div2, div3, ctrlText, valCtrl);
            return true;
        }

        //        function CheckInsuranceTransferredValidationCss() {
        //            CheckValidationCss('divYesInsuranceTransferred', 'divNoInsuranceTransferred', '<=txtInsuranceTransferred.ClientID>', '<=rfvInsuranceTransferred.ClientID>');
        //        }

        //        function ValInsuranceTransferred(varOnOff) {
        //            var txtCtrl = document.getElementById("<=txtInsuranceTransferred.ClientID>");
        //            txtCtrl.value = "1";

        //            ValidatorEnable(document.getElementById('<=rfvTransInsuranceCompany.ClientID>'), varOnOff);
        //            ValidatorEnable(document.getElementById('<=rfvTransInsVehicleNo.ClientID>'), varOnOff);
        //        }


        function CheckVechicleModificationValidationCss() {
            CheckValidationCss('divYesVechicleModification', 'divNoVechicleModification', '<%=txtVechicleModification.ClientID%>', '<%=rfvVechicleModification.ClientID%>');
        }

        function ValVechicleModification(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtVechicleModification.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvVMReason.ClientID%>'), varOnOff);
        }

        function CheckHirePurchaseValidationCss() {
            CheckValidationCss('divYesHirePurchase', 'divNoHirePurchase', '<%=txtHirePurchase.ClientID%>', '<%=rfvHirePurchase.ClientID%>');
        }

        function ValHirePurchase(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtHirePurchase.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvHirePurchaseCompany.ClientID%>'), varOnOff);
        }

        function CheckLicenceRevokedValidationCss() {
            CheckValidationCss('divYesLicenceRevoked', 'divNoLicenceRevoked', '<%=txtLicenceRevoked.ClientID%>', '<%=rfvLicenceRevoked.ClientID%>');
        }

        function ValLicenceRevoked(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtLicenceRevoked.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvYearofRevoked.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvLicenceRevokedReason.ClientID%>'), varOnOff);
        }

        //Driver 1
        function CheckRevoked1ValidationCss() {
            CheckValidationCss('divYesRevoked1', 'divNoRevoked1', '<%=txtRevoked1.ClientID%>', '<%=rfvRevoked1.ClientID%>');
        }
        //alert("1");
        function ValRevoked1(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtRevoked1.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver1.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvLicRevokReason1.ClientID%>'), varOnOff);
        }

        function CheckDriverClaim1ValidationCss() {
            CheckValidationCss('divYesDriverClaim1', 'divNoDriverClaim1', '<%=txtDriverClaim1.ClientID%>', '<%=rfvDriverClaim1.ClientID%>');
        }

        function ValDriverClaim1(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtDriverClaim1.ClientID%>");
            txtCtrl.value = "1";

            IsEnableDateValidation('<%=ddlDateofAccidentDriver1.ClientID%>', varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver1.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver1.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=revClaimAmountDriver1.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver1.ClientID%>'), varOnOff);

        }

        //Driver 2
        function CheckRevoked2ValidationCss() {
            CheckValidationCss('divYesRevoked2', 'divNoRevoked2', '<%=txtRevoked2.ClientID%>', '<%=rfvRevoked2.ClientID%>');
        }

        function ValRevoked2(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtRevoked2.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver2.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvLicRevokReason2.ClientID%>'), varOnOff);
        }

        function CheckDriverClaim2ValidationCss() {
            CheckValidationCss('divYesDriverClaim2', 'divNoDriverClaim2', '<%=txtDriverClaim2.ClientID%>', '<%=rfvDriverClaim2.ClientID%>');
        }

        function ValDriverClaim2(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtDriverClaim2.ClientID%>");
            txtCtrl.value = "1";

            IsEnableDateValidation('<%=ddlDateofAccidentDriver2.ClientID%>', varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver2.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver2.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=revClaimAmountDriver2.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver2.ClientID%>'), varOnOff);

        }

        //Driver 3
        function CheckRevoked3ValidationCss() {
            CheckValidationCss('divYesRevoked3', 'divNoRevoked3', '<%=txtRevoked3.ClientID%>', '<%=rfvRevoked3.ClientID%>');
        }

        function ValRevoked3(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtRevoked3.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver3.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvLicRevokReason3.ClientID%>'), varOnOff);

        }

        function CheckDriverClaim3ValidationCss() {
            CheckValidationCss('divYesDriverClaim3', 'divNoDriverClaim3', '<%=txtDriverClaim3.ClientID%>', '<%=rfvDriverClaim3.ClientID%>');
        }

        function ValDriverClaim3(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtDriverClaim3.ClientID%>");
            txtCtrl.value = "1";

            IsEnableDateValidation('<%=ddlDateofAccidentDriver3.ClientID%>', varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver3.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver3.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=revClaimAmountDriver3.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver3.ClientID%>'), varOnOff);

        }

        //Driver 4
        function CheckRevoked4ValidationCss() {
            CheckValidationCss('divYesRevoked4', 'divNoRevoked4', '<%=txtRevoked4.ClientID%>', '<%=rfvRevoked4.ClientID%>');
        }

        function ValRevoked4(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtRevoked4.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver4.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvLicRevokReason4.ClientID%>'), varOnOff);

        }

        function CheckDriverClaim4ValidationCss() {
            CheckValidationCss('divYesDriverClaim4', 'divNoDriverClaim4', '<%=txtDriverClaim4.ClientID%>', '<%=rfvDriverClaim4.ClientID%>');
        }

        function ValDriverClaim4(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtDriverClaim4.ClientID%>");
            txtCtrl.value = "1";

            IsEnableDateValidation('<%=ddlDateofAccidentDriver4.ClientID%>', varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver4.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver4.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=revClaimAmountDriver4.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver4.ClientID%>'), varOnOff);

        }

        //Driver 5
        function CheckRevoked5ValidationCss() {
            CheckValidationCss('divYesRevoked5', 'divNoRevoked5', '<%=txtRevoked5.ClientID%>', '<%=rfvRevoked5.ClientID%>');
        }

        function ValRevoked5(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtRevoked5.ClientID%>");
            txtCtrl.value = "1";

            ValidatorEnable(document.getElementById('<%=rfvYearofRevokedDriver5.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvLicRevokReason5.ClientID%>'), varOnOff);

        }

        function CheckDriverClaim5ValidationCss() {
            CheckValidationCss('divYesDriverClaim5', 'divNoDriverClaim5', '<%=txtDriverClaim5.ClientID%>', '<%=rfvDriverClaim5.ClientID%>');
        }

        function ValDriverClaim5(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtDriverClaim5.ClientID%>");
            txtCtrl.value = "1";

            IsEnableDateValidation('<%=ddlDateofAccidentDriver5.ClientID%>', varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvNatureofAccidentDriver5.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvClaimAmountDriver5.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=revClaimAmountDriver5.ClientID%>'), varOnOff);
            ValidatorEnable(document.getElementById('<%=rfvTyeofClaimDriver5.ClientID%>'), varOnOff);

        }





        function ValYoungDriver(varOnOff) {

            //ValidatorEnable(document.getElementById('<%=rfvHirePurchaseCompany.ClientID%>'), varOnOff);
        }

        //        function CheckPurposeofuseValidationCss() {
        //            CheckValidationCss('divSocial', 'divOthers', '<=txtPurposeofuse.ClientID>', '<=rfvPurposeofuse.ClientID>');
        //        }

        //        function ValPurposeofuse(varOnOff) {
        //            var txtCtrl = document.getElementById("<=txtPurposeofuse.ClientID>");
        //            txtCtrl.value = "1";

        //            ValidatorEnable(document.getElementById('<=rfvOtherReason.ClientID>'), varOnOff);
        //        }

        function CheckCardTypeValidationCss() {
            CheckValidationCss('divVisa', 'divMasterCard', '<%=txtCardType.ClientID%>', '<%=rfvCardType.ClientID%>');
        }

        function ValCheckCardType(varOnOff) {
            var txtCtrl = document.getElementById("<%=txtCardType.ClientID%>");
            txtCtrl.value = "1";
        }

        function ShowHideNCDReasonStatus() {
            var ncdreason = document.getElementById('<%=ddlNCDReason.ClientID%>').value;
            var valNcdreason = document.getElementById('<%=rfvNCDReason.ClientID%>');
            if (ncdreason == 'Others') {
                ShowHideDiv('divNCDReason', true);
                ValidatorEnable(valNcdreason, true);
            }
            else {
                ShowHideDiv('divNCDReason', false);
                ValidatorEnable(valNcdreason, false);
            }
        }

        //    function EnableDisableDriverValidations() {
        //        var drivercount = document.getElementById('<%=txtDriverCount.ClientID%>').value;
        //        //alert(drivercount); 
        //        if (drivercount == 0) {
        //            ValidationDriver1(false);
        //            ValidationDriver2(false);
        //            ValidationDriver3(false);
        //            ValidationDriver4(false);
        //            ValidationDriver5(false);
        //        }
        //        else if (drivercount == 1) {
        //            ValidationDriver1(true);
        //            ValidationDriver2(false);
        //            ValidationDriver3(false);
        //            ValidationDriver4(false);
        //            ValidationDriver5(false);
        //        }
        //        else if (drivercount == 2) {
        //            ValidationDriver1(true);
        //            ValidationDriver2(true);
        //            ValidationDriver3(false);
        //            ValidationDriver4(false);
        //            ValidationDriver5(false);
        //        }
        //        else if (drivercount == 3) {
        //            ValidationDriver1(true);
        //            ValidationDriver2(true);
        //            ValidationDriver3(true);
        //            ValidationDriver4(false);
        //            ValidationDriver5(false);
        //        }
        //        else if (drivercount == 4) {
        //            ValidationDriver1(true);
        //            ValidationDriver2(true);
        //            ValidationDriver3(true);
        //            ValidationDriver4(true);
        //            ValidationDriver5(false);
        //        }
        //        else if (drivercount == 5) {
        //            ValidationDriver1(true);
        //            ValidationDriver2(true);
        //            ValidationDriver3(true);
        //            ValidationDriver4(true);
        //            ValidationDriver5(true);
        //        }
        //    }

        //    function ValidationDriver1(varOnOff) {
        //        //alert(1);
        //        //alert(varOnOff);
        //        ValidatorEnable(document.getElementById('<=rfvDriverSurName1.ClientID>'), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverGender1.ClientID>' + "_rfvGender"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdType1.ClientID>' + "_rfvIDType"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber1.ClientID>' + "_csvIdPrefix"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber1.ClientID>' + "_rfvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber1.ClientID>' + "_revIdNumberLength"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber1.ClientID>' + "_csvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber1.ClientID>' + "_csvIdPostfix"), varOnOff);
        //    }

        //    function ValidationDriver2(varOnOff) {
        //        //alert(2);
        //        //alert(varOnOff);
        //        ValidatorEnable(document.getElementById('<=rfvDriverSurName2.ClientID>'), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverGender2.ClientID>' + "_rfvGender"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdType2.ClientID>' + "_rfvIDType"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber2.ClientID>' + "_csvIdPrefix"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber2.ClientID>' + "_rfvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber2.ClientID>' + "_revIdNumberLength"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber2.ClientID>' + "_csvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber2.ClientID>' + "_csvIdPostfix"), varOnOff);
        //    }

        //    function ValidationDriver3(varOnOff) {
        //        //alert(3);
        //        //alert(varOnOff);
        //        ValidatorEnable(document.getElementById('<=rfvDriverSurName3.ClientID>'), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverGender3.ClientID>' + "_rfvGender"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdType3.ClientID>' + "_rfvIDType"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber3.ClientID>' + "_csvIdPrefix"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber3.ClientID>' + "_rfvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber3.ClientID>' + "_revIdNumberLength"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber3.ClientID>' + "_csvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber3.ClientID>' + "_csvIdPostfix"), varOnOff);
        //    }

        //    function ValidationDriver4(varOnOff) {
        //        //alert(4);
        //        //alert(varOnOff);
        //        ValidatorEnable(document.getElementById('<=rfvDriverSurName4.ClientID>'), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverGender4.ClientID>' + "_rfvGender"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdType4.ClientID>' + "_rfvIDType"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber4.ClientID>' + "_csvIdPrefix"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber4.ClientID>' + "_rfvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber4.ClientID>' + "_revIdNumberLength"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber4.ClientID>' + "_csvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber4.ClientID>' + "_csvIdPostfix"), varOnOff);
        //    }

        //    function ValidationDriver5(varOnOff) {
        //        //alert(5);
        //        //alert(varOnOff);
        //        ValidatorEnable(document.getElementById('<=rfvDriverSurName5.ClientID>'), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverGender5.ClientID>' + "_rfvGender"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdType5.ClientID>' + "_rfvIDType"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber5.ClientID>' + "_csvIdPrefix"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber5.ClientID>' + "_rfvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber5.ClientID>' + "_revIdNumberLength"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber5.ClientID>' + "_csvIdNumber"), varOnOff);
        //        ValidatorEnable(document.getElementById('<=ddlDriverIdNumber5.ClientID>' + "_csvIdPostfix"), varOnOff);
        //    }


        function CheckDriverSalGenderValid1(source, arguments) {
            var ctrlsal = document.getElementById('<%=ddlDriverSalutation1.ClientID%>' + '_ddlSal');
            var ctrlgender = document.getElementById('<%=ddlDriverGender1.ClientID%>' + '_ddlGender');

            var sal = ctrlsal.value;
            var gender = ctrlgender.value;
            var result = true;
            if (gender == 'M') {
                if (sal == 'Ms' || sal == 'Miss' || sal == 'Mdm' || sal == 'Mrs') {
                    result = false;
                }
            }
            else if (gender == 'F') {
                if (sal == 'Mr') {
                    result = false;
                }
            }

            if (result == false) {
                ctrlsal.style.backgroundColor = '#fcc';
                ctrlsal.style.border = 'Solid 1px #f00';
            }
            else {
                ctrlsal.style.backgroundColor = '';
                ctrlsal.style.border = '';
            }
            arguments.IsValid = result;
        }

        var hookAVal = false;
        function HookDriverValidation1() {
            if (hookAVal == false) {
                prefix = "<%=ddlDriverSalutation1.ClientID%>";
                var ddlSal = prefix + "_ddlSal";
                prefix = "<%=ddlDriverGender1.ClientID%>";
                var ddlGender = prefix + "_ddlGender";
                var valCtrl = "<%=csvDriverSalGender1.ClientID%>";
                ValidatorHookupControlID(ddlSal, document.getElementById(valCtrl));
                ValidatorHookupControlID(ddlGender, document.getElementById(valCtrl));
                hookAVal = true;
            }
        }

        function CheckDriverSalGenderValid2(source, arguments) {
            var ctrlsal = document.getElementById('<%=ddlDriverSalutation2.ClientID%>' + '_ddlSal');
            var ctrlgender = document.getElementById('<%=ddlDriverGender2.ClientID%>' + '_ddlGender');

            var sal = ctrlsal.value;
            var gender = ctrlgender.value;
            var result = true;
            if (gender == 'M') {
                if (sal == 'Ms' || sal == 'Miss' || sal == 'Mdm' || sal == 'Mrs') {
                    result = false;
                }
            }
            else if (gender == 'F') {
                if (sal == 'Mr') {
                    result = false;
                }
            }

            if (result == false) {
                ctrlsal.style.backgroundColor = '#fcc';
                ctrlsal.style.border = 'Solid 1px #f00';
            }
            else {
                ctrlsal.style.backgroundColor = '';
                ctrlsal.style.border = '';
            }
            arguments.IsValid = result;
        }

        var hookAVal = false;
        function HookDriverValidation2() {
            if (hookAVal == false) {
                prefix = "<%=ddlDriverSalutation2.ClientID%>";
                var ddlSal = prefix + "_ddlSal";
                prefix = "<%=ddlDriverGender2.ClientID%>";
                var ddlGender = prefix + "_ddlGender";
                var valCtrl = "<%=csvDriverSalGender2.ClientID%>";
                ValidatorHookupControlID(ddlSal, document.getElementById(valCtrl));
                ValidatorHookupControlID(ddlGender, document.getElementById(valCtrl));
                hookAVal = true;
            }
        }

        function CheckDriverSalGenderValid3(source, arguments) {
            var ctrlsal = document.getElementById('<%=ddlDriverSalutation3.ClientID%>' + '_ddlSal');
            var ctrlgender = document.getElementById('<%=ddlDriverGender3.ClientID%>' + '_ddlGender');

            var sal = ctrlsal.value;
            var gender = ctrlgender.value;
            var result = true;
            if (gender == 'M') {
                if (sal == 'Ms' || sal == 'Miss' || sal == 'Mdm' || sal == 'Mrs') {
                    result = false;
                }
            }
            else if (gender == 'F') {
                if (sal == 'Mr') {
                    result = false;
                }
            }

            if (result == false) {
                ctrlsal.style.backgroundColor = '#fcc';
                ctrlsal.style.border = 'Solid 1px #f00';
            }
            else {
                ctrlsal.style.backgroundColor = '';
                ctrlsal.style.border = '';
            }
            arguments.IsValid = result;
        }

        var hookAVal = false;
        function HookDriverValidation3() {
            if (hookAVal == false) {
                prefix = "<%=ddlDriverSalutation3.ClientID%>";
                var ddlSal = prefix + "_ddlSal";
                prefix = "<%=ddlDriverGender3.ClientID%>";
                var ddlGender = prefix + "_ddlGender";
                var valCtrl = "<%=csvDriverSalGender3.ClientID%>";
                ValidatorHookupControlID(ddlSal, document.getElementById(valCtrl));
                ValidatorHookupControlID(ddlGender, document.getElementById(valCtrl));
                hookAVal = true;
            }
        }

        function CheckDriverSalGenderValid4(source, arguments) {
            var ctrlsal = document.getElementById('<%=ddlDriverSalutation4.ClientID%>' + '_ddlSal');
            var ctrlgender = document.getElementById('<%=ddlDriverGender4.ClientID%>' + '_ddlGender');

            var sal = ctrlsal.value;
            var gender = ctrlgender.value;
            var result = true;
            if (gender == 'M') {
                if (sal == 'Ms' || sal == 'Miss' || sal == 'Mdm' || sal == 'Mrs') {
                    result = false;
                }
            }
            else if (gender == 'F') {
                if (sal == 'Mr') {
                    result = false;
                }
            }

            if (result == false) {
                ctrlsal.style.backgroundColor = '#fcc';
                ctrlsal.style.border = 'Solid 1px #f00';
            }
            else {
                ctrlsal.style.backgroundColor = '';
                ctrlsal.style.border = '';
            }
            arguments.IsValid = result;
        }

        var hookAVal = false;
        function HookDriverValidation4() {
            if (hookAVal == false) {
                prefix = "<%=ddlDriverSalutation4.ClientID%>";
                var ddlSal = prefix + "_ddlSal";
                prefix = "<%=ddlDriverGender4.ClientID%>";
                var ddlGender = prefix + "_ddlGender";
                var valCtrl = "<%=csvDriverSalGender4.ClientID%>";
                ValidatorHookupControlID(ddlSal, document.getElementById(valCtrl));
                ValidatorHookupControlID(ddlGender, document.getElementById(valCtrl));
                hookAVal = true;
            }
        }

        function CheckDriverSalGenderValid5(source, arguments) {
            var ctrlsal = document.getElementById('<%=ddlDriverSalutation5.ClientID%>' + '_ddlSal');
            var ctrlgender = document.getElementById('<%=ddlDriverGender5.ClientID%>' + '_ddlGender');

            var sal = ctrlsal.value;
            var gender = ctrlgender.value;
            var result = true;
            if (gender == 'M') {
                if (sal == 'Ms' || sal == 'Miss' || sal == 'Mdm' || sal == 'Mrs') {
                    result = false;
                }
            }
            else if (gender == 'F') {
                if (sal == 'Mr') {
                    result = false;
                }
            }

            if (result == false) {
                ctrlsal.style.backgroundColor = '#fcc';
                ctrlsal.style.border = 'Solid 1px #f00';
            }
            else {
                ctrlsal.style.backgroundColor = '';
                ctrlsal.style.border = '';
            }
            arguments.IsValid = result;
        }

        var hookAVal = false;
        function HookDriverValidation5() {
            if (hookAVal == false) {
                prefix = "<%=ddlDriverSalutation5.ClientID%>";
                var ddlSal = prefix + "_ddlSal";
                prefix = "<%=ddlDriverGender5.ClientID%>";
                var ddlGender = prefix + "_ddlGender";
                var valCtrl = "<%=csvDriverSalGender5.ClientID%>";
                ValidatorHookupControlID(ddlSal, document.getElementById(valCtrl));
                ValidatorHookupControlID(ddlGender, document.getElementById(valCtrl));
                hookAVal = true;
            }
        }
        function CheckAll() {
            HookDriverValidation1();
            HookDriverValidation2();
            HookDriverValidation3();
            HookDriverValidation4();
            HookDriverValidation5();
        }
        function showhide(el) {

            el = document.getElementById(el);
            el.style.display = (el.style.display == "none") ? "block" : "none";

        }

        window.onload = function() {

            //showhide('divInsuranceTransferred');
            showhide('divNCDReason');
            //showhide('divParticularsofVechicle');
            showhide('divVechicleModification');
            showhide('divHirePurchase');
            showhide('divLicenceRevoked');
            var drivercount = document.getElementById('<%=txtDriverCount.ClientID%>').value;
            if (drivercount >= 1) {
                showhide('divRevoked1');
                //alert("1A");
                showhide('divDriverClaim1');
                //alert("1B");
            }
            if (drivercount >= 2) {
                showhide('divRevoked2');
                //alert("2A");
                showhide('divDriverClaim2');
                //alert("2B");
            }
            if (drivercount >= 3) {
                showhide('divRevoked3');
                //alert("3A");
                showhide('divDriverClaim3');
                //alert("3B");
            }
            if (drivercount >= 4) {
                showhide('divRevoked4');
                //alert("4A");
                showhide('divDriverClaim4');
                //alert("4B");
            }
            if (drivercount >= 5) {
                showhide('divRevoked5');
                //alert("5A");
                showhide('divDriverClaim5');
                //alert("5B");
            }

            //showhide('divPurposeofuse');
            //showhide('divPaymentMode');
            showhide('divImNotice');
            //alert("6");
            showhide('divDeclaration');
            //alert("7");
            //showhide('divQuoteSummery');
            ShowHideNCDReasonStatus();
            //alert("8");
            DisableFunction();
            CheckInstallmentType();

            showhide('divNCDProtection');
            showhide('divPremiumRates');

            onloading();
            //alert("9");
        }

        function onloading() {
            //EnableDisableDriverValidations();

            //            if (document.getElementById('<=rdoYesInsuranceTransferred.ClientI%>').checked == true) {
            //                ShowHideDiv('divInsuranceTransferred', true);
            //                ValInsuranceTransferred(true);
            //            }
            //            else if (document.getElementById('<=rdoNoInsuranceTransferred.ClientID>').checked == true) {
            //                ShowHideDiv('divInsuranceTransferred', false);
            //                ValInsuranceTransferred(false);
            //            }
            //            else { ShowHideDiv('divInsuranceTransferred', false); }

            if (document.getElementById('<%=rdoYesVechicleModification.ClientID%>').checked == true) {
                ShowHideDiv('divVechicleModification', true);
                ValVechicleModification(true);
            }
            else if (document.getElementById('<%=rdoNoVechicleModification.ClientID%>').checked == true) {
                ShowHideDiv('divVechicleModification', false);
                ValVechicleModification(false);
            }
            else { ShowHideDiv('divVechicleModification', false); }

            if (document.getElementById('<%=rdoYesHirePurchase.ClientID%>').checked == true) {
                ShowHideDiv('divHirePurchase', true);
                ValHirePurchase(true);
            }
            else if (document.getElementById('<%=rdoNoHirePurchase.ClientID%>').checked == true) {
                ShowHideDiv('divHirePurchase', false);
                ValHirePurchase(false);
            }
            else { ShowHideDiv('divHirePurchase', false); }

            if (document.getElementById('<%=rdoYesLicenceRevoked.ClientID%>').checked == true) {
                ShowHideDiv('divLicenceRevoked', true);
                ValLicenceRevoked(true);
            }
            else if (document.getElementById('<%=rdoNoLicenceRevoked.ClientID%>').checked == true) {
                ShowHideDiv('divLicenceRevoked', false);
                ValLicenceRevoked(false);
            }
            else { ShowHideDiv('divLicenceRevoked', false); }

            var drivercount = document.getElementById('<%=txtDriverCount.ClientID%>').value;
            if (drivercount >= 1) {
                //Driver 1
                if (document.getElementById('<%=rdoYesRevoked1.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked1', true);
                    ValRevoked1(true);
                }
                else if (document.getElementById('<%=rdoNoRevoked1.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked1', false);
                    ValRevoked1(false);
                }
                else { ShowHideDiv('divRevoked1', false); }

                if (document.getElementById('<%=rdoYesDriverClaim1.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim1', true);
                    ValDriverClaim1(true);
                }
                else if (document.getElementById('<%=rdoNoDriverClaim1.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim1', false);
                    ValDriverClaim1(false);
                }
                else { ShowHideDiv('divDriverClaim1', false); }
            }

            if (drivercount >= 2) {
                //Driver 2
                if (document.getElementById('<%=rdoYesRevoked2.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked2', true);
                    ValRevoked2(true);
                }
                else if (document.getElementById('<%=rdoNoRevoked2.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked2', false);
                    ValRevoked2(false);
                }
                else { ShowHideDiv('divRevoked2', false); }

                if (document.getElementById('<%=rdoYesDriverClaim2.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim2', true);
                    ValDriverClaim2(true);
                }
                else if (document.getElementById('<%=rdoNoDriverClaim2.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim2', false);
                    ValDriverClaim2(false);
                }
                else { ShowHideDiv('divDriverClaim2', false); }
            }

            if (drivercount >= 3) {
                //Driver 3
                if (document.getElementById('<%=rdoYesRevoked3.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked3', true);
                    ValRevoked3(true);
                }
                else if (document.getElementById('<%=rdoNoRevoked3.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked3', false);
                    ValRevoked3(false);
                }
                else { ShowHideDiv('divRevoked3', false); }

                if (document.getElementById('<%=rdoYesDriverClaim3.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim3', true);
                    ValDriverClaim3(true);
                }
                else if (document.getElementById('<%=rdoNoDriverClaim3.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim3', false);
                    ValDriverClaim3(false);
                }
                else { ShowHideDiv('divDriverClaim3', false); }
            }

            if (drivercount >= 4) {
                //Driver 4
                if (document.getElementById('<%=rdoYesRevoked4.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked4', true);
                    ValRevoked4(true);
                }
                else if (document.getElementById('<%=rdoNoRevoked4.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked4', false);
                    ValRevoked4(false);
                }
                else { ShowHideDiv('divRevoked4', false); }

                if (document.getElementById('<%=rdoYesDriverClaim4.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim4', true);
                    ValDriverClaim4(true);
                }
                else if (document.getElementById('<%=rdoNoDriverClaim4.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim4', false);
                    ValDriverClaim4(false);
                }
                else { ShowHideDiv('divDriverClaim4', false); }
            }

            if (drivercount >= 5) {
                //Driver 5
                if (document.getElementById('<%=rdoYesRevoked5.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked5', true);
                    ValRevoked5(true);
                }
                else if (document.getElementById('<%=rdoNoRevoked5.ClientID%>').checked == true) {
                    ShowHideDiv('divRevoked5', false);
                    ValRevoked5(false);
                }
                else { ShowHideDiv('divRevoked5', false); }

                if (document.getElementById('<%=rdoYesDriverClaim5.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim5', true);
                    ValDriverClaim5(true);
                }
                else if (document.getElementById('<%=rdoNoDriverClaim5.ClientID%>').checked == true) {
                    ShowHideDiv('divDriverClaim5', false);
                    ValDriverClaim5(false);
                }
                else { ShowHideDiv('divDriverClaim5', false); }
            }

            //            if (document.getElementById('<=rdoSocial.ClientID>').checked == true) {
            //                ShowHideDiv('divPurposeofuse', false);
            //                ValPurposeofuse(false);
            //            }
            //            else if (document.getElementById('<=rdoOthers.ClientID>').checked == true) {
            //                ShowHideDiv('divPurposeofuse', true);
            //                ValPurposeofuse(true);
            //            }
            //            else { ShowHideDiv('divPurposeofuse', false); }


            //            if (document.getElementById('<=txtCardType.ClientID>').value == "1") {
            //                ShowHideDiv('divPaymentMode', true);
            //            }
            //            else { ShowHideDiv('divPaymentMode', false); }

            if (document.getElementById('<%=inputNCD.ClientID%>').value == '50') {
                ShowHideDiv('divNCDProtection', true);
            }
            else { ShowHideDiv('divNCDProtection', false); }


        }

        function ShowDiv() {
            onloading();
            //ShowHideDiv('divParticularsofVechicle', true);
            //ShowHideDiv('divPaymentMode', true);
        }

        function restrictToNumbers(e) {
            if ([e.keyCode || e.which] == 8 || [e.keyCode || e.which] == 37 || [e.keyCode || e.which] == 9 || [e.keyCode || e.which] == 39) //this is to allow backspace
                return true;

            if ([e.keyCode || e.which] < 48 || [e.keyCode || e.which] > 57)
                e.preventDefault ? e.preventDefault() : e.returnValue = false;
        }

        function requestByPostCode() {
            try {
                var _pcode = document.getElementById('<%=txtPostCode.ClientID%>').value;
                if (_pcode.length != 6) {
                    alert('Postal code length must be 6 numbers value.');
                    document.getElementById('<%=txtAddress.ClientID%>').value = '';
                    return false;
                }
                else {
                    requestData(_pcode);
                }
            }
            catch (e) {
                alert(e.toString());
            }
        }


        function set_data(json) {
            try {
                var srcTable = $("#divAddress").empty();
                var txtAddress = document.getElementById('<%=txtAddress.ClientID%>');
                if (json == null) {
                    $("<table><tr><td>No address found!</td></tr></table>").appendTo(srcTable);
                    alert("No address found!");
                    document.getElementById('<%=txtPostCode.ClientID%>').value = "";
                    txtAddress.value = "No Address found.";
                    return;
                }
                if (json.length == 0) {
                    $("<table><tr><td>No address found!</td></tr></table>").appendTo(srcTable);
                    alert("No address found!");
                    document.getElementById('<%=txtPostCode.ClientID%>').value = "";
                    txtAddress.value = "No Address found.";
                    return;
                }

                var tbl = $("<table width='50%'>");

                var tbody = $("<tbody>");
                var no = 1;
                for (var i = 0; i < json.length; i++) {
                    var trow = $("<tr>"), rec = json[i];
                    if (rec.t != null) {

                        var ctn = rec.t + "<br>" + rec.a;

                        //$("<td>").text(no).data("col", 1).appendTo(trow);
                        $("<td>").html(ctn).data("col", 2).appendTo(trow);
                        if (i == 0) {
                            txtAddress.value = rec.t + "\n" + rec.a;
                        }
                        else {
                            txtAddress.value += "\n\n" + rec.t + "\n" + rec.a;
                        }
                        no++;
                    }
                    trow.appendTo(tbody);
                }
                tbody.appendTo(tbl);
                //alert(srcTable);
                tbl.appendTo(srcTable);
            }
            catch (e) {
                alert(e.toString());
            }
        }

        function PostCodeChange() {
            document.getElementById('divAddress').innerHTML = "Your postcode changed.";
            document.getElementById('divAddress').style.display = 'none';
            document.getElementById('<%=txtAddress.ClientID%>').innerHTML = "Your postcode changed.";
            //document.getElementById("<=btnPostCode.ClientID>").disabled = false;
        }

        function CheckInstallmentType() {
            var _optMonthlyInstallment = document.getElementById('<%=rdoMonthlyPayment.ClientID%>');
            var _optAnnualInstallment = document.getElementById('<%=rdoAnnualPayment.ClientID%>');
            var _txtIssuingBank = document.getElementById('<%=txtIssuingBank.ClientID%>');
            var _ddlIssuingBank = document.getElementById('<%=ddlIssuingBank.ClientID%>');
            if (_optAnnualInstallment.checked) {
                //alert('Annual');
                _txtIssuingBank.value = '';
                ShowHideDiv('divIssuingBankText', true);
                ShowHideDiv('divIssuingBankDropDown', false);
            }
            else if (_optMonthlyInstallment.checked) {
                //alert('Monthly');
                _txtIssuingBank.value = _ddlIssuingBank.value;
                ShowHideDiv('divIssuingBankText', false);
                ShowHideDiv('divIssuingBankDropDown', true);
            }
        }

        function CheckIssuingBankDropDown() {
            var _txtIssuingBank = document.getElementById('<%=txtIssuingBank.ClientID%>');
            var _ddlIssuingBank = document.getElementById('<%=ddlIssuingBank.ClientID%>');
            _txtIssuingBank.value = _ddlIssuingBank.value;
        }

        function SubmitConfirm() {
            var _retVal = false;
            if (Page_ClientValidate('proposal')) {
                _retVal = confirm('By pressing the submit button, you authorise CompareXpress to send your personal information to the partipating merchant of your choice. You therefore exempt CompareXpress from any liability relating to the sharing of this information with our participating merchant.');
            }
            else {
                ShowDiv();
            }
            return _retVal;
        }

        function SetPremiumValue() {

            if (document.getElementById('<%=rdoYes.ClientID%>').checked == true)
                ShowHideDiv('divPremiumRates', true);
            else
                ShowHideDiv('divPremiumRates', false);

        }
        IncreaseProgress(100);
        HideLoading();
    </script>

    <script src="../../includes/carinsurance/hsbc.proposalform.js" type="text/javascript"></script>

</asp:Content>
